NotificationGetGroupedNotificationsInput constructor

const NotificationGetGroupedNotificationsInput({
  1. @NotificationGetGroupedNotificationsFeedConverter() @Default.new(NotificationGetGroupedNotificationsFeed.knownValue(data: KnownNotificationGetGroupedNotificationsFeed.all)) NotificationGetGroupedNotificationsFeed feed,
  2. @Default.new(30) int limit,
  3. String? cursor,
  4. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory NotificationGetGroupedNotificationsInput({
  /// Which notification feed to return. Grouping behavior varies by feed: notifications about follows might be grouped in 'all' and ungrouped (or rather, in single-item groups) in 'followers'.
  @NotificationGetGroupedNotificationsFeedConverter()
  @Default(
    NotificationGetGroupedNotificationsFeed.knownValue(
      data: KnownNotificationGetGroupedNotificationsFeed.all,
    ),
  )
  NotificationGetGroupedNotificationsFeed feed,

  /// Maximum number of groups to return.
  @Default(30) int limit,
  String? cursor,

  Map<String, dynamic>? $unknown,
}) = _NotificationGetGroupedNotificationsInput;