BasePayment constructor

BasePayment({
  1. PaymentAmount? amount,
  2. List<PaymentPlan> plans = const [],
  3. Map<String, dynamic> custom = const {},
  4. UnplannedPayment? unplanned,
})

Implementation

BasePayment(
    {this.amount,
    this.plans = const [],
    this.custom = const {},
    this.unplanned})
    : assert(amount != null || plans.isNotEmpty);