putString static method

Future putString(
  1. String key,
  2. String? value
)

Saves a string value to persistent storage under the specified content provider.

If value is null, this is equivalent to calling remove() on the key.

Implementation

static Future<dynamic> putString(String key, String? value) {
  return _setValue('String', key, value);
}