getAvailableGenreSeeds method
Retrieves the list of available genre seeds for recommendations.
Implementation
Future<List<String>> getAvailableGenreSeeds() async {
final uri = Uri.https(_baseApiHost, '/v1/recommendations/available-genre-seeds');
final json = await _getJson(uri);
final genres = json['genres'] as List<dynamic>;
return genres.cast<String>();
}