setValue abstract method
Set a value
for the key
by using the preferences
.
Returns true
if value was successfully set, otherwise false
.
Implementation
Future<bool> setValue(SharedPreferences preferences, String key, T value);
Set a value
for the key
by using the preferences
.
Returns true
if value was successfully set, otherwise false
.
Future<bool> setValue(SharedPreferences preferences, String key, T value);