static Future<bool> putBool(String key, bool? value) => value == null ? remove(key) : sharedPreferences.setBool(key, value);