toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "Date": date?.toIso8601String(),
  "TxnID": txnId,
  "Code": code,
  "message": message,
};