UserNotificationsResponse constructor

const UserNotificationsResponse({
  1. required UserNotificationsCounts counts,
  2. required List<UserNotificationItemView> items,
  3. required String status,
  4. required String username,
  5. @JsonKey.new(name: 'next_page') String? nextPage,
})

Implementation

const factory UserNotificationsResponse({
  required UserNotificationsCounts counts,
  required List<UserNotificationItemView> items,
  required String status,
  required String username,
  @JsonKey(name: 'next_page') String? nextPage,
}) = _UserNotificationsResponse;