setString method

  1. @override
Future<void> setString(
  1. String key,
  2. String value, {
  3. SharedPreferencesPlusOptions options = const SharedPreferencesPlusOptions(),
})
override

Persists a string value for key.

Implementation

@override
Future<void> setString(
  String key,
  String value, {
  SharedPreferencesPlusOptions options = const SharedPreferencesPlusOptions(),
}) => _set(key, value, options);