searchArtists method
Performs a search specifically for artists with the given query and returns a list of artist details.
Implementation
Future<List<ArtistDetailed>> searchArtists(String query) async {
final searchData = await constructRequest(
"search",
body: {
"query": query,
"params": "Eg-KAQwIABAAGAAgASgAMABqChAEEAMQCRAFEAo%3D"
},
);
return traverseList(searchData, ["musicResponsiveListItemRenderer"])
.map(ArtistParser.parseSearchResult)
.toList();
}