setValue method
Set a value
for the key
by using the preferences
.
Returns true
if value was successfully set, otherwise false
.
Implementation
@override
Future<bool> setValue(preferences, key, values) =>
preferences.setStringList(key, values);