toMap method
Implementation
Map<String, dynamic> toMap() => <String, dynamic>{
"title": title,
"serial": serial,
"simCardSerial": simCardSerial,
if (merchantId != null) "merchantId": merchantId,
"acceptedAgreement": acceptedAgreement,
"terminalBrandId": terminalBrandId,
"terminalBrokerId": terminalBrokerId,
};