notifications static method

Stream<List<DatabaseNotification>> notifications()

Get stream of database notifications.

Emits updated list whenever notifications are fetched, marked as read, or deleted. Immediately emits current cached list to new listeners.

Implementation

static Stream<List<DatabaseNotification>> notifications() {
  return manager.notifications();
}