VideoStatus enum

The status of a video.

Inheritance
Mixed in types

Constructors

VideoStatus(String code)
Returns a new VideoStatus instance.
const

Values

new_ → const VideoStatus

The video is new.

const VideoStatus('new')
upcoming → const VideoStatus

The livestream/premier has not started yet.

const VideoStatus('upcoming')
live → const VideoStatus

The livestream/premier is currently ongoing.

const VideoStatus('live')
past → const VideoStatus

The livestream/premier has ended.

const VideoStatus('past')
missing → const VideoStatus

The status is missing.

const VideoStatus('missing')

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

Static Methods

fromJson(String? status) VideoStatus
Returns a new VideoStatus instance from a JSON string.
toJsonStatic(VideoStatus status) String
Returns a new VideoStatus instance from a JSON string.

Constants

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