put bool.
static Future<bool> putBool(String key, bool value) async { if (_prefs == null) return false; return await _prefs!.setBool(key, value); }