VideoFull class Null safety

Inheritance

Constructors

VideoFull({required String id, required String title, required VideoType type, String? topicId, String? publishedAt, required String availableAt, int? duration, required VideoStatus status, String? startScheduled, String? startActual, String? endActual, int? liveViewers, String? description, String? channelId, int? songcount, String? language, ChannelMin? channel, List<Video>? clips, List<Video>? sources, List<Video>? refers, List<Video>? simulcasts, List<Channel>? mentions, List<Song>? songs})
Returns a new VideoFull instance.
VideoFull.fromJson(String source)
factory
VideoFull.fromMap(Map<String, dynamic> map)
factory

Properties

availableAt String
Takes on the first non-null value of end_actual, start_actual, start_scheduled, or published_at
final, inherited
channel ChannelMin?
final, inherited
channelId String?
final, inherited
clips List<Video>?
Included when 'includes' contains 'clips'
final
description String?
Included when includes contains 'description'
final, inherited
duration int?
Duration of the video in seconds
final, inherited
endActual String?
Included when includes contains 'live_info'
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
final, inherited
language String?
final, inherited
liveViewers int?
Included when includes contains 'live_info'
final, inherited
mentions List<Channel>?
VTubers mentioned by this video, Included when 'includes' contains 'mentions'
final
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
read-only, override
publishedAt String?
final, inherited
refers List<Video>?
Included when 'includes' contains 'refers'
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
simulcasts List<Video>?
Included when 'includes' contains 'simulcasts'
final
songcount int?
Number of tagged songs for this video
final, inherited
songs List<Song>?
final
sources List<Video>?
Included when 'includes' contains 'sources'
final
startActual String?
Included when includes contains 'live_info'
final, inherited
startScheduled String?
Included when includes contains 'live_info'
final, inherited
status VideoStatus
final, inherited
stringify bool
If set to true, the toString method will be overridden to output this instance's props. [...]
read-only, override
title String
final, inherited
topicId String?
corresponds to a Topic ID, Videos of type clip cannot not have topic. Streams may or may not have topic.
final, inherited
type VideoType
final, inherited

Methods

copyWith({String? id, String? title, VideoType? type, String? topicId, String? publishedAt, String? availableAt, int? duration, VideoStatus? status, String? startScheduled, String? startActual, String? endActual, int? liveViewers, String? description, int? songcount, String? language, String? channelId, ChannelMin? channel, List<Video>? clips, List<Video>? sources, List<Video>? refers, List<Video>? simulcasts, List<Channel>? mentions, List<Song>? songs}) VideoFull
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() String
override
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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