copyWith method
Copy this config with new values.
Implementation
LoggerConfig copyWith({
bool? enableInDebug,
List<String>? allowedIds,
bool? enableLongPressGesture,
bool? enablePersistence,
int? maxStoredLogs,
}) {
return LoggerConfig(
enableInDebug: enableInDebug ?? this.enableInDebug,
allowedIds: allowedIds ?? this.allowedIds,
enableLongPressGesture:
enableLongPressGesture ?? this.enableLongPressGesture,
enablePersistence: enablePersistence ?? this.enablePersistence,
maxStoredLogs: maxStoredLogs ?? this.maxStoredLogs,
);
}