mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
97100a4362
* refactor: app metadata * refactor to per row store * cleanup * more test * review changes * more refactor * refactor --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
19 lines
518 B
Dart
19 lines
518 B
Dart
import 'package:immich_mobile/domain/models/log.model.dart';
|
|
|
|
class SystemConfig {
|
|
final LogLevel logLevel;
|
|
|
|
const SystemConfig({this.logLevel = .info});
|
|
|
|
SystemConfig copyWith({LogLevel? logLevel}) => SystemConfig(logLevel: logLevel ?? this.logLevel);
|
|
|
|
@override
|
|
bool operator ==(Object other) => identical(this, other) || (other is SystemConfig && other.logLevel == logLevel);
|
|
|
|
@override
|
|
int get hashCode => logLevel.hashCode;
|
|
|
|
@override
|
|
String toString() => 'SystemConfig(logLevel: $logLevel)';
|
|
}
|