MethodChannelYtFlutterMusicapi class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelAllSearches()
→ Future<Map<String, dynamic>>
-
override
-
dispose()
→ Future<Map<String, dynamic>>
-
override
-
fetchLyrics({required String songName, required String artistName})
→ Future<Map<String, dynamic>>
-
override
-
getArtistSongs({required String artistName, int limit = 10, String thumbQuality = 'VERY_HIGH', String audioQuality = 'HIGH', bool includeAudioUrl = true, bool includeAlbumArt = true})
→ Future<Map<String, dynamic>>
-
override
-
getAudioUrlFast({required String videoId})
→ Future<Map<String, dynamic>>
-
Only returns the audio URL using videoId, no other metadata
override
-
getAudioUrlFlexible({String? title, String? artist, String? videoId, String audioQuality = 'HIGH'})
→ Future<Map<String, dynamic>>
-
Get audio URL using flexible parameters
override
-
getCharts({required String country, required int limit, required String thumbQuality, required String audioQuality, required bool includeAudioUrl, required bool includeAlbumArt})
→ Future<Map<String, dynamic>>
-
Get charts data as a batch operation
override
-
getRelatedSongs({required String songName, required String artistName, int limit = 10, String thumbQuality = 'VERY_HIGH', String audioQuality = 'HIGH', bool includeAudioUrl = true, bool includeAlbumArt = true})
→ Future<Map<String, dynamic>>
-
override
-
initialize({String? proxy, String country = 'US'})
→ Future<Map<String, dynamic>>
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
searchMusic({required String query, int limit = 10, String thumbQuality = 'VERY_HIGH', String audioQuality = 'HIGH', bool includeAudioUrl = true, bool includeAlbumArt = true})
→ Future<Map<String, dynamic>>
-
override
-
streamArtistAlbums({required String artistName, int maxAlbums = 5, int maxSongsPerAlbum = 10, int maxWorkers = 5, String thumbQuality = 'VERY_HIGH', String audioQuality = 'HIGH', bool includeAudioUrl = true, bool includeAlbumArt = true})
→ Stream<Map<String, dynamic>>
-
override
-
streamArtistSingles({required String artistName, int maxSingles = 5, int maxSongsPerSingle = 10, int maxWorkers = 5, String thumbQuality = 'VERY_HIGH', String audioQuality = 'HIGH', bool includeAudioUrl = true, bool includeAlbumArt = true})
→ Stream<Map<String, dynamic>>
-
override
-
streamArtistSongs({required String artistName, int limit = 45, String thumbQuality = 'VERY_HIGH', String audioQuality = 'HIGH', bool includeAudioUrl = true, bool includeAlbumArt = true})
→ Stream<Map<String, dynamic>>
-
override
-
streamCharts({required String country, required int limit, required String thumbQuality, required String audioQuality, required bool includeAudioUrl, required bool includeAlbumArt})
→ Stream<Map<String, dynamic>>
-
Stream charts data for a specific country
override
-
streamRadio({required String videoId, int limit = 50, String thumbQuality = 'VERY_HIGH', String audioQuality = 'HIGH', bool includeAudioUrl = true, bool includeAlbumArt = true})
→ Stream<Map<String, dynamic>>
-
override
-
streamRelatedSongs({required String songName, required String artistName, int limit = 65, String thumbQuality = 'VERY_HIGH', String audioQuality = 'HIGH', bool includeAudioUrl = true, bool includeAlbumArt = true})
→ Stream<Map<String, dynamic>>
-
override
-
streamSearchResults({required String query, int limit = 35, String thumbQuality = 'VERY_HIGH', String audioQuality = 'HIGH', bool includeAudioUrl = true, bool includeAlbumArt = true})
→ Stream<Map<String, dynamic>>
-
override
-
toString()
→ String
-
A string representation of this object.
inherited