toJson method
Implementation
Map<String, dynamic> toJson() => {
'environment': environment.wire,
'merchantId': merchantId,
if (locale != null) 'locale': locale,
'logLevel': logLevel.wire,
if (defaultCurrency != null) 'defaultCurrency': defaultCurrency,
'enableEventStream': enableEventStream,
};