NotificationGetGroupedNotificationsInput constructor
const
NotificationGetGroupedNotificationsInput({
- @NotificationGetGroupedNotificationsFeedConverter() @Default.new(NotificationGetGroupedNotificationsFeed.knownValue(data: KnownNotificationGetGroupedNotificationsFeed.all)) NotificationGetGroupedNotificationsFeed feed,
- @Default.new(30) int limit,
- String? cursor,
- 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;