PaginatedVideos constructor

const PaginatedVideos({
  1. @JsonKey(fromJson: _parseTotal) int? total,
  2. @Default([]) List<VideoFull> items,
  3. @Default(false) bool paginated,
})

Creates a paginated list of VideoFulls.

Implementation

const factory PaginatedVideos({
  /// The total number of videos on the server.
  @JsonKey(fromJson: _parseTotal) int? total,
  @Default([]) List<VideoFull> items,
  @Default(false) bool paginated,
}) = _PaginatedVideos;