notificationFeed abstract method

NotificationFeed notificationFeed(
  1. String slug, [
  2. String? userId
])

Convenient getter for NotificationFeed:

Notification Feed Groups extend the "Aggregated Feed Group" concept with additional features that make them well suited to notification systems.

Notification Feeds contain Activity Groups, each with a seen and read status field.

These fields can be updated to reflect how a user has interacted with a given notification.

When retrieved, the Feed includes a real-time count of the total number of unseen and unread Activity Groups (notifications).

For example, take the notification system on Facebook.

If you click the notification icon, all notifications get marked as seen.

However, an individual notification only gets marked as read when you click on it.

You can create new Notification Feed Groups in the dashboard.

Implementation

NotificationFeed notificationFeed(String slug, [String? userId]);