Data.fromJson constructor

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

Implementation

Data.fromJson(Map<String, dynamic> json) {
  accountNumber = json['accountNumber'];
  destinationAccountNumber = json['destinationAccountNumber'];
  amount = json['amount'];
  balance = json['balance'];
  narration = json['narration'];
  transactionDate = json['transactionDate'];
  transactionRef = json['transactionRef'];
  transactionType = json['transactionType'];
}