Yt class

Constructors

Yt()
Yt.withJwt(String credentialsFile, String scope, {CachePolicy? cachePolicy})
factory
Yt.withKey(String apiKey, {CachePolicy? cachePolicy})
factory
Yt.withOAuth(OAuthCredentials oauthCredentials, {bool useCache = false, bool refresh = false})
factory

Properties

broadcast Future<Broadcast>
A liveBroadcast resource represents an event that will be streamed, via live video, on YouTube.
no setter
channels Future<Channels>
A channel resource contains information about a YouTube channel.
no setter
chat Future<Chat>
A liveChatMessage resource represents a chat message in a YouTube live chat. The resource can contain details about several types of messages, including a newly posted text message or fan funding event.
no setter
hashCode int
The hash code for this object.
no setterinherited
playlistItems Future<PlaylistItems>
A playlistItem resource identifies another resource, such as a video, that is included in a playlist. In addition, the playlistItem resource contains details about the included resource that pertain specifically to how that resource is used in that playlist. /// YouTube also uses a playlist to identify a channel's list of uploaded videos, with each playlistItem in that list representing one uploaded video. You can retrieve the playlist ID for that list from the channel resource for a given channel. You can then use the playlistItems.list method to the list.
no setter
playlists Future<Playlists>
A playlist resource represents a YouTube playlist. A playlist is a collection of videos that can be viewed sequentially and shared with other users. By default, playlists are publicly visible to other users, but playlists can be public or private.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
A search result contains information about a YouTube video, channel, or playlist that matches the search parameters specified in an API request. While a search result points to a uniquely identifiable resource, like a video, it does not have its own persistent data.
no setter
stream Future<LiveStream>
A liveStream resource contains information about the video stream that you are transmitting to YouTube. The stream provides the content that will be broadcast to YouTube users. Once created, a LiveStreamItem resource can be bound to one or more LiveBroadcastItem resources.
no setter
thumbnails Future<Thumbnails>
A Thumbnail resource identifies different thumbnail image sizes associated with a resource. Please note the following characteristics of thumbnail images:
no setter
token String
no getter
tokenExpiry DateTime
final
tokenGenerator TokenGenerator?
getter/setter pair
videos Future<Videos>
A video resource represents a YouTube video.
no setter
vision Future<Vision>
Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.
no setter

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 Properties

dio → Dio
final

Static Methods

initCache([CachePolicy? cachePolicy]) → void