static Future<bool> setBool(String key, bool value) async { SharedPreferences sharedPreferences = await SharedPreferences.getInstance(); return await sharedPreferences.setBool(key, value); }