WatchMixin mixin

Mixin for watch functionalities.

Superclass constraints
Mixin applications

Properties

authType AuthType
Get the authentication type.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
headers Future<Map<String, String>>
Headers property for requests.
no setterinherited
parser Parser
Get the i18n parser.
no setterinherited
proxy Uri?
Get the proxy configuration.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asMobile<T>(Future<T> callback()) Future<T>
Set client temporary as YouTube Music Mobile app for sending request.
inherited
checkAuth() → void
Check if client is authenticated.
inherited
getWatchPlaylist({String? videoId, String? playlistId, int limit = 25, bool radio = false, bool shuffle = false}) Future<JsonMap>
Get a watch list of tracks. This watch playlist appears when you press play on a track in YouTube Music.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendGetRequest(String url, {JsonMap? params}) Future<Response>
Send a GET request to YouTube Music.
inherited
sendRequest(String endpoint, JsonMap body, {String additionalParams = ''}) Future<JsonMap>
Send a POST request to YouTube Music.
inherited
toString() String
A string representation of this object.
inherited

Operators

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