toJson method

  1. @override
Map<String, dynamic> toJson()
override

Ret convert to Json Map

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    "terminal_id": terminalId,
    "merchant_name": merchantName,
  };
}