toJson method

Map<String, dynamic> toJson()

Converts BankTransferRequest instance to a map

Implementation

Map<String, dynamic> toJson() {
  return {
    'amount': this.amount,
    'currency': this.currency,
    'duration': this.duration,
    'email': this.email,
    'frequency': this.frequency,
    'is_permanent': this.isPermanent,
    'narration': this.narration,
    'tx_ref': this.txRef,
    'phone_number': this.phoneNumber
  };
}