deleteNotificationPref method

void deleteNotificationPref(
  1. String userId,
  2. String targetKind,
  3. String targetId
)

Removes the preference of userId for targetKind targetId; nothing happens when there is none. No event, as for setNotificationPref.

Implementation

void deleteNotificationPref(
  String userId,
  String targetKind,
  String targetId,
) => _notificationPrefs.remove('$userId|$targetKind|$targetId');