BankTransferRequest.fromJson constructor

BankTransferRequest.fromJson(
  1. Map<String, dynamic> json
)

Constructor to initialize BankTransferRequest from json

Implementation

BankTransferRequest.fromJson(Map<String, dynamic> json) {
  this.amount = json['amount'];
  this.currency = json['currency'];
  this.duration = json['duration'];
  this.email = json['email'];
  this.frequency = json['frequency'];
  this.isPermanent = json['is_permanent'];
  this.narration = json['narration'];
  this.txRef = json['tx_ref'];
  this.phoneNumber = json["phone_number"];
}