Future<bool> setBool({ required String key, required bool value, }) async { try { return await Database.getSharedPreferences().setBool(key, value); } catch (_) {} return false; }