setBool method

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

Implementation

Future<bool> setBool(String key, bool value) {
  var results = _preferences.setBool(key, value);
  if (localKeys.contains(key)) return results;
  localKeys.add(key);
  return results;
}