HolodexEndpoint enum

Holodex API endpoints.

Inheritance

Constructors

HolodexEndpoint(String path)
Returns a new HolodexEndpoint instance.
const

Values

videos → const HolodexEndpoint

Endpoint for getting a list of videos.

const HolodexEndpoint('/videos')
live → const HolodexEndpoint

Endpoint for getting a list of live videos.

const HolodexEndpoint('/live')
channels → const HolodexEndpoint

Endpoint for getting a list of channels.

const HolodexEndpoint('/channels')
userLive → const HolodexEndpoint

Endpoint for getting a list of live videos from channels

const HolodexEndpoint('/users/live')
videoSearch → const HolodexEndpoint

Endpoint for searching for videos.

const HolodexEndpoint('/search/videoSearch')
commentSearch → const HolodexEndpoint

Endpoint for searching for videos with certain comments.

const HolodexEndpoint('/search/commentSearch')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
path String
The path of the endpoint.
final
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.
override

Operators

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

Constants

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