TaxonomyAllergenQueryConfiguration constructor
TaxonomyAllergenQueryConfiguration({
- required List<
String> tags, - List<
OpenFoodFactsLanguage> ? languages, - OpenFoodFactsCountry? country,
- List<
TaxonomyAllergenField> fields = const [], - List<
Parameter> additionalParameters = const [],
Configuration to get the allergens that match the tags
.
Implementation
TaxonomyAllergenQueryConfiguration({
required List<String> tags,
List<OpenFoodFactsLanguage>? languages,
OpenFoodFactsCountry? country,
List<TaxonomyAllergenField> fields = const [],
List<Parameter> additionalParameters = const [],
}) : super(
TagType.ALLERGENS,
tags,
languages: languages,
country: country,
fields: fields,
additionalParameters: additionalParameters,
);