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