TransactionResponse.fromMap constructor

TransactionResponse.fromMap(
  1. Map<String, dynamic> map
)

Implementation

TransactionResponse.fromMap(Map<String, dynamic> map)
    : paymentDate = map['paymentDate'],
      amountPayable = map['amountPayable'] ?? 0.0,
      amountPaid = map['amountPaid'] ?? 0.0,
      paymentMethod = map['paymentMethod'],
      transactionStatus = map['transactionStatus'],
      transactionReference = map['transactionReference'],
      paymentReference = map['paymentReference'];