groupByMinute method

GroupedNotifications groupByMinute(
  1. int minute
)

Groups notifications by reason and reasonSubject, additionally bucketed by minute of wall-clock time.

Uses the official grouping default. For the legacy behavior with minute bucketing, call group(by: GroupBy.minute(minute), config: const NotificationsGrouperConfig.lenient()) instead.

Available minute range is from 1 to 59 (include), otherwise it always throws RangeError.

Implementation

GroupedNotifications groupByMinute(final int minute) =>
    const NotificationsGrouper().group(this, by: GroupBy.minute(minute));