setString method
Sets a String value and notifies all active listeners that there's a new
value for the key
.
Returns true if a value
was successfully set for the key
, otherwise
returns false.
Implementation
Future<bool> setString(String key, String value) {
return setCustomValue(key, value, adapter: StringAdapter.instance);
}