menu
sunny_lifecycle package
documentation
modules/testing_modules.dart
TestSharedPreferences
update method
update method
dark_mode
light_mode
update
method
Future
<
bool
>
update
(
String
key
,
Object
?
value
)
Implementation
Future<bool> update(String key, Object? value) async { _data[key] = value; return true; }
sunny_lifecycle package
documentation
modules/testing_modules
TestSharedPreferences
update method
TestSharedPreferences class