BankAccountModel.fromJson constructor

BankAccountModel.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory BankAccountModel.fromJson(Map<String, dynamic> data){
  return BankAccountModel(
    id: data["id"],
    accountName: data["accountName"],
    accountNumber: data["accountNumber"],
    bankName: data["bankName"],
  );
}