menu
json_preferences package
documentation
json_preferences.dart
JsonPreference
toJson method
toJson method
dark_mode
light_mode
toJson
method
Map
<
String
,
dynamic
>
toJson
(
)
Return a deep copy json object
Do not override
Implementation
Map<String, dynamic> toJson() => jsonDecode(jsonEncode(obj));
json_preferences package
documentation
json_preferences
JsonPreference
toJson method
JsonPreference class