Map<String, dynamic> toJson() { final data = <String, dynamic>{}; data['theme'] = theme; data['use_system_theme'] = useSystemTheme; return data; }