toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['accountNumber'] = accountNumber;
  data['destinationAccountNumber'] = destinationAccountNumber;
  data['amount'] = amount;
  data['balance'] = balance;
  data['narration'] = narration;
  data['transactionDate'] = transactionDate;
  data['transactionRef'] = transactionRef;
  data['transactionType'] = transactionType;
  return data;
}