ChannelVideoFilter class

Filter the results returns by the Holodex API channel videos endpoints

Annotations
  • @Freezed(fromJson: false, toJson: true)

Constructors

ChannelVideoFilter({@JsonKey(toJson: concatIncludesList, name: 'include', includeIfNull: false) @Default([]) List<Includes> includes, @JsonKey(toJson: concatLanguageListWithDefault, name: 'lang') @Default([]) List<Language> languages, @JsonKey(toJson: intToString) @Default(25) int limit, @JsonKey(toJson: intToString) @Default(0) int offset, @JsonKey(toJson: paginatedToString) @Default(true) bool paginated})
Used to filter the results returns by the Holodex API's channels endpoints
const
factory

Properties

copyWith → $ChannelVideoFilterCopyWith<ChannelVideoFilter>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
includes List<Includes>
Request extra data be included in the results. They are not guarenteed to be returned.
no setterinherited
languages List<Language>
List of Language enum to filter channels/clips. Official streams do not follow this parameter
no setterinherited
limit int
Result limit. Max of 50.
no setterinherited
offset int
Offset results
no setterinherited
paginated bool
If paginated is set to true, returns PaginatedVideos with total, otherwise returns PaginatedVideos without the total.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited