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