download method
override
Downloads the taxonomy for the given tags.
Implementation
@protected
@override
Future<Map<String, TaxonomyLabel>?> download(List<String> tags) async =>
OpenFoodAPIClient.getTaxonomyLabels(
TaxonomyLabelQueryConfiguration(
tags: tags,
country: getCountry(),
languages: <OpenFoodFactsLanguage>[getLanguage()],
fields: <TaxonomyLabelField>[TaxonomyLabelField.NAME],
),
);