PaymentCard constructor

const PaymentCard({
  1. Key? key,
  2. required PaymentMethod paymentMethod,
  3. required double totalAmount,
  4. bool isSelected = false,
  5. bool isMemberShip = false,
})

Implementation

const PaymentCard({
  super.key,
  required this.paymentMethod,
  required this.totalAmount,
  this.isSelected = false,
  this.isMemberShip = false,
});