SearchMixin mixin
Mixin for search 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
-
getSearchSuggestions(
String query, {bool detailedRuns = false}) → Future - Get search suggestions.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeSearchSuggestions(
List< JsonMap> suggestions, {List<int> ? indices}) → Future<bool> - Remove search suggestion from the user search history.
-
search(
String query, {String? filter, String? scope, int limit = 20, bool ignoreSpelling = false}) → Future< List> - Search YouTube music.
-
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