toMap method
Implementation
Map<String, dynamic> toMap() => {
"response_message": responseMessage == null ? null : responseMessage,
"response_code": responseCode == null ? null : responseCode,
"checksum": checksum == null ? null : checksum,
"agent": agent == null ? null : agent?.toMap(),
"merchant": merchant == null ? null : merchant?.toMap(),
"transaction": transaction == null ? null : transaction?.toMap(),
};