Yt class

Mixed in types
  • UiLoggy

Constructors

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

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setModules({bool? useTokenAuth, 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?
getter/setter pair
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