PaymentOption constructor

PaymentOption({
  1. required String name,
  2. required IconData iconData,
  3. required String slug,
  4. bool isCard = false,
  5. bool isBank = false,
  6. bool isMomo = false,
})

Implementation

PaymentOption({
  required this.name,
  required this.iconData,
  required this.slug,
  this.isCard = false,
  this.isBank = false,
  this.isMomo = false,
});