BankInfo.fromMap constructor

BankInfo.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory BankInfo.fromMap(Map<String, dynamic> map) {
  return BankInfo(
    name: map['bank'],
    accountNumber: map['bank_cc'],
    agencyNumber: map['bank_ag'],
    accountType: map['account_type'],
  );
}