notifications method

Future<List<DatabaseNotification>> notifications({
  1. bool unreadOnly = false,
})

This model's stored notifications, newest first.

Implementation

Future<List<DatabaseNotification>> notifications({bool unreadOnly = false}) =>
    Container.current.make<NotificationManager>().of(
      this,
      unreadOnly: unreadOnly,
    );