putString static method

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

put string.

Implementation

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