ChannelSort enum

Options to sort a list of channels from the HolodexClient.getChannels endpoint.

Inheritance
Mixed in types

Constructors

ChannelSort(String code)
Creates a new ChannelSort with the given code.
const

Values

id → const ChannelSort

Sort by the channel's ID.

const ChannelSort('id')
name → const ChannelSort

Sort by the channel's name.

const ChannelSort('name')
englishName → const ChannelSort

Sort by the channel's English name.

const ChannelSort('enligh_name')
type → const ChannelSort

Sort by the channel's type.

const ChannelSort('type')
organization → const ChannelSort

Sort by the channel's organization.

const ChannelSort('org')
suborg → const ChannelSort

Sort by the channel's suborganization.

const ChannelSort('suborg')
photo → const ChannelSort

Sort by the channel's photo.

const ChannelSort('photo')

Sort by the channel's banner.

const ChannelSort('banner')
twitter → const ChannelSort

Sort by the channel's Twitter handle.

const ChannelSort('twitter')
videoCount → const ChannelSort

Sort by the channel's YouTube video count.

const ChannelSort('video_count')
subscriberCount → const ChannelSort

Sort by the channel's subscriber count.

const ChannelSort('subscriber_count')
viewCount → const ChannelSort

Sort by the channel's view count.

const ChannelSort('view_count')
clipCount → const ChannelSort

Sort by the channel's clip count.

const ChannelSort('clip_count')
lang → const ChannelSort

Sort by the channel's language.

const ChannelSort('lang')
publishedAt → const ChannelSort

Sort by the channel's published date.

const ChannelSort('published_at')
inactive → const ChannelSort

Sort by the channel's inactive status.

const ChannelSort('inactive')
description → const ChannelSort

Sort by the channel's description.

const ChannelSort('description')

Properties

code String
The code used by Holodex
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<ChannelSort>
A constant List of the values in this enum, in order of their declaration.