VideoClient class

Queries related to YouTube videos.

Constructors

VideoClient(YoutubeHttpClient _httpClient)
Initializes an instance of VideoClient.

Properties

closedCaptions ClosedCaptionClient
Queries related to closed captions of YouTube videos.
final
comments CommentsClient
Queries related to a YouTube video comments. Alias of commentsClient.
no setter
commentsClient CommentsClient
Queries related to a YouTube video comments.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streams StreamClient
Queries related to media streams of YouTube videos. Alias of streamsClient.
no setter
streamsClient StreamClient
Queries related to media streams of YouTube videos.
final

Methods

get(dynamic videoId) Future<Video>
Get a Video instance from a videoId
getRelatedVideos(Video video) Future<RelatedVideosList?>
Returns a RelatedVideosList or null if no related videos were found.
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