PodcastsMixin mixin

Mixin for podcast 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
getChannel(String channelId) Future<JsonMap>
Get information about a podcast channel (episodes, podcasts).
getChannelEpisodes(String channelId, String params) Future<List>
Get all channel episodes. This endpoint is currently unlimited.
getEpisode(String videoId) Future<JsonMap>
Retrieve episode data for a single episode.
getEpisodesPlaylist({String playlistId = 'RDPN'}) Future<JsonMap>
Get all episodes in an episodes playlist.
getPodcast(String playlistId, {int? limit = 100}) Future<JsonMap>
Returns podcast metadata and episodes.
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