removeNotificationPref method

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

Deletes the level of userId on targetKind targetId: notification_pref.updated with deleted: true and the last version plus one; nothing when there is no row (deleteNotificationPreference). Throws 404 for a target the person cannot read.

Implementation

void removeNotificationPref(
  String userId,
  String targetKind,
  String targetId,
) => _removePref(userId, targetKind, targetId);