setBool static method

void setBool(
  1. String key,
  2. bool value
)

Implementation

static void setBool(String key, bool value) {
  _prefs?.setBool(key, value);
  _memoryPrefs[key] = value;
}