Yt class

Mixed in types
Available Extensions

Constructors

Yt({LogOptions logOptions = const LogOptions(LogLevel.error, stackTraceLevel: LogLevel.off), LoggyPrinter printer = const PrettyPrinter(showColors: false)})

Properties

broadcast Broadcast
read-only
channels Channels
read-only
chat Chat
read-only
comments Comments
read-only
commentThreads CommentThreads
read-only
hashCode int
The hash code for this object.
read-onlyinherited
liveStream LiveStream
read-only
loggy Loggy<UiLoggy>
read-onlyinherited
playlistItems PlaylistItems
read-only
playlists Playlists
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
read-only
subscriptions Subscriptions
read-only
thumbnails Thumbnails
read-only
videoCategories VideoCategories
read-only
videos Videos
read-only
watermarks Watermarks
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setModules({bool? useToken, String? apiKey}) → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

dio Dio
final
refreshTokenGenerator RefreshTokenGenerator?
read / write
tokenExpiry DateTime
final

Static Methods

addInterceptor(Interceptor interceptor, {ListPosition position = ListPosition.start}) → void
withGenerator(RefreshTokenGenerator refreshTokenGenerator, {LogOptions logOptions = const LogOptions(LogLevel.error, stackTraceLevel: LogLevel.off)}) Future<Yt>
withKey(String apiKey) Yt
withOAuth({ClientId? oAuthClientId, LogOptions logOptions = const LogOptions(LogLevel.error, stackTraceLevel: LogLevel.off)}) Yt