toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
  "terminalId": terminalId,
  "merchantId": merchantId,
  if (centerTerminalId != null) "centerTerminalId": centerTerminalId,
  if (merchantName != null) "merchantName": merchantName,
  if (merchantPostalCode != null) "merchantPostalCode": merchantPostalCode,
  if (merchantPhone != null) "merchantPhone": merchantPhone,
};