withAllStatuses static method

NotificationsQuery withAllStatuses()

Create query to get notifications with any statuses.

Implementation

static NotificationsQuery withAllStatuses() {
  var query = NotificationsQuery();
  query.statuses = [];
  return query;
}