TransferDetailModel.fromJson constructor

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

Implementation

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