MixinProtocol class abstract

Abstract class defining the functions available to mixins.

Implementers

Constructors

MixinProtocol.new()

Properties

authType AuthType
Get the authentication type.
no setter
hashCode int
The hash code for this object.
no setterinherited
headers Future<Map<String, String>>
Headers property for requests.
no setter
parser Parser
Get the i18n parser.
no setter
proxy Uri?
Get the proxy configuration.
no setter
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.
checkAuth() → void
Check if client is authenticated.
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.
sendRequest(String endpoint, JsonMap body, {String additionalParams = ''}) Future<JsonMap>
Send a POST request to YouTube Music.
toString() String
A string representation of this object.
inherited

Operators

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