ChannelFilter class
Filter the results returns by the Holodex API channel endpoints
- Annotations
-
- @Freezed(fromJson: false, toJson: true)
Constructors
-
ChannelFilter({@JsonKey(toJson: concatLanguageListWithDefault, name: 'lang') @Default([]) List<
Language> languages, @JsonKey(toJson: intToString) @Default(25) int limit, @JsonKey(toJson: intToString) @Default(0) int offset, @JsonKey(includeIfNull: false, toJson: channelTypeToString) ChannelType? type, @JsonKey(toJson: channelSortToStringList, includeIfNull: false) @Default([ChannelSort.organization]) List<ChannelSort> sort, @JsonKey(toJson: orderToString) @Default(Order.ascending) Order order, @JsonKey(name: 'org', toJson: organizationToString, includeIfNull: false) Organization? organization}) -
Filter the results returns by the Holodex API channel endpoints
constfactory
Properties
-
copyWith
→ $ChannelFilterCopyWith<
ChannelFilter> -
no setterinherited
- hashCode → int
-
The hash code for this object.
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
- order → Order
-
ASC or DESC order, default asc.
no setterinherited
- organization → Organization?
-
If set, filter for a Vtuber belonging to a specific org
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sort
→ List<
ChannelSort> -
Column to sort on
no setterinherited
- type → ChannelType?
-
Type of Channel, whether it's a vtuber or a subber. Leave unset to query all.
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