toJson method

Map<String, dynamic> toJson()

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,
    };