setRejected function
Implementation
Future<void> setRejected(String deviceId, bool value) async {
final SharedPreferences preferences = await sharedPrefs();
final prefKey = '$deviceId.rejected_notifications';
preferences.setBool(prefKey, value);
}