setString method
Set the string value for the specified key in SharedPreferences.
Implementation
Future<bool> setString(String dataKey, String? dataValue,
{bool notify = true}) async {
assert(_key != null);
return _decorator.setString(dataKey, dataValue, notify: notify);
}