wasRejected function
- String deviceId
Implementation
Future<bool> wasRejected(String deviceId) async {
final SharedPreferences preferences = await sharedPrefs();
final prefKey = '$deviceId.rejected_notifications';
return preferences.getBool(prefKey) ?? false;
}