copyWith method
ReaderConfig
copyWith({
- ReaderEnvironment? environment,
- String? merchantId,
- String? locale,
- ReaderLogLevel? logLevel,
- String? defaultCurrency,
- bool? enableEventStream,
Implementation
ReaderConfig copyWith({
ReaderEnvironment? environment,
String? merchantId,
String? locale,
ReaderLogLevel? logLevel,
String? defaultCurrency,
bool? enableEventStream,
}) =>
ReaderConfig(
environment: environment ?? this.environment,
merchantId: merchantId ?? this.merchantId,
locale: locale ?? this.locale,
logLevel: logLevel ?? this.logLevel,
defaultCurrency: defaultCurrency ?? this.defaultCurrency,
enableEventStream: enableEventStream ?? this.enableEventStream,
);