Data constructor

Data({
  1. String? message,
  2. String? txnId,
  3. String? statusCode,
  4. num? amount,
  5. num? createdDate,
  6. String? txnNumber,
  7. String? paymentMethod,
  8. String? uniqueTxnId,
})

Implementation

Data({
    String? message,
    String? txnId,
    String? statusCode,
    num? amount,
    num? createdDate,
    String? txnNumber,
    String? paymentMethod,
    String? uniqueTxnId,}){
  _message = message;
  _txnId = txnId;
  _statusCode = statusCode;
  _amount = amount;
  _createdDate = createdDate;
  _txnNumber = txnNumber;
  _paymentMethod = paymentMethod;
  _uniqueTxnId = uniqueTxnId;
}