CardPayment constructor
CardPayment({
- required PaylikeCard card,
- PaymentAmount? amount,
- List<
PaymentPlan> plans = const [], - UnplannedPayment? unplanned,
- Map<
String, dynamic> custom = const {},
Implementation
CardPayment({
required this.card,
PaymentAmount? amount,
List<PaymentPlan> plans = const [],
UnplannedPayment? unplanned,
Map<String, dynamic> custom = const {},
}) : assert(amount != null || plans.isNotEmpty),
super(
amount: amount, plans: plans, unplanned: unplanned, custom: custom);