ChartsMixin mixin
Mixin for chart 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
-
getCharts(
{String country = 'ZZ'}) → Future< JsonMap> - Get latest charts data from YouTube Music: Artists and playlists of top videos.
-
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