toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cash != null) 'cash': cash!,
      if (cashException != null) 'cashException': cashException!,
      if (cheque != null) 'cheque': cheque!,
      if (chequeException != null) 'chequeException': chequeException!,
      if (creditCard != null) 'creditCard': creditCard!,
      if (creditCardException != null)
        'creditCardException': creditCardException!,
      if (debitCard != null) 'debitCard': debitCard!,
      if (debitCardException != null)
        'debitCardException': debitCardException!,
      if (mobileNfc != null) 'mobileNfc': mobileNfc!,
      if (mobileNfcException != null)
        'mobileNfcException': mobileNfcException!,
    };