Sets a string value for the given key.
key
void setString(String key, String value) => _prefsInstance.setString(key, value);