Bank.fromJson constructor

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

Implementation

factory Bank.fromJson(Map<String, dynamic> json) {
  return Bank(
    bankCode: json['bankCode'].toString(),
    bankName: json['bankName'],
  );
}