TxnBankStatus.fromJson constructor

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

Implementation

factory TxnBankStatus.fromJson(Map<String, dynamic> json) => TxnBankStatus(
  date: json["Date"] == null ? null : DateTime.parse(json["Date"]),
  txnId: json["TxnID"],
  code: json["Code"],
  message: json["message"],
);