setString static method

Future<bool>? setString(
  1. String key,
  2. String value
)

put string.

Implementation

static Future<bool>? setString(String key, String value) {
  return prefs?.setString(key, value);
}