CheckoutResponse constructor

CheckoutResponse({
  1. required String message,
  2. required String? reference,
  3. required bool status,
  4. required CheckoutMethod method,
  5. required bool verify,
  6. PaymentCard? card,
  7. BankAccount? account,
})

Implementation

CheckoutResponse(
    {required this.message,
    required this.reference,
    required this.status,
    required this.method,
    required this.verify,
    this.card,
    this.account})
    : assert(card != null || account != null);