getPlaylists method
Searches for playlists or albums matching the provided query
.
Search results are offset by the specified offset
, with each batch containing
limit
results.
Implementation
Stream<Iterable<PlaylistSearchResult>> getPlaylists(
String query, {
int offset = defaultOffset,
int limit = defaultLimit
}) => search(
query,
searchFilter: SearchFilter.playlists,
offset: offset,
limit: limit
).map((b) => b.cast<PlaylistSearchResult>());