class AppSettings {
  final bool darkMode;
  final String language;
  final bool notifications;
  final double imageQuality;
  final bool autoSave;

  AppSettings({
    this.darkMode = true,
    this.language = 'en',
    this.notifications = true,
    this.imageQuality = 1.0,
    this.autoSave = true,
  });

  AppSettings copyWith({
    bool? darkMode,
    String? language,
    bool? notifications,
    double? imageQuality,
    bool? autoSave,
  }) {
    return AppSettings(
      darkMode: darkMode ?? this.darkMode,
      language: language ?? this.language,
      notifications: notifications ?? this.notifications,
      imageQuality: imageQuality ?? this.imageQuality,
      autoSave: autoSave ?? this.autoSave,
    );
  }
}
