It puts a bool value inside the localStorage
Future<bool> putBool(String key, bool value) async { return _prefs.then((SharedPreferences prefs) { prefs.setBool(key, value); return true; }); }