toJson method

Map<String, dynamic> toJson()

Converts instance of ResolveAccountRequest to json

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['account_number'] = this.accountNumber;
  data['account_bank'] = this.acountBankCode;
  if (this.data != null) {
    data['data'] = this.data!.toJson();
  }
  return data;
}