YoutubeMusicEngine class

Search engine for YouTube Music.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source Source
The provider source this engine is for.
no setteroverride

Methods

constructSearchQuery(Result result) Future<String>
Constructs a search query from any Result for ideal response from this Source.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
searchForTrack(String query, [int itemCount = 5]) Future<List<YoutubeMusicResult>>
Searches for tracks.
override
searchForTrackFromResult(Result result, [int itemCount = 5, int durationDelta = 15, bool albumMatchRequired = true]) Future<List<YoutubeMusicResult>>
Searches for tracks from a Result. Usually more accurate than searchForTrack.
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

initialize() Future<YoutubeMusicEngine>
Creates a new YoutubeMusicEngine.