TaxonomyPackagingMaterialQueryConfiguration constructor
TaxonomyPackagingMaterialQueryConfiguration({
- required List<
String> tags, - List<
OpenFoodFactsLanguage> ? languages, - OpenFoodFactsCountry? country,
- List<
TaxonomyPackagingMaterialField> fields = const [], - List<
Parameter> additionalParameters = const [], - bool includeChildren = false,
Configuration to get the packaging materials that match the tags
.
Implementation
TaxonomyPackagingMaterialQueryConfiguration({
required List<String> tags,
List<OpenFoodFactsLanguage>? languages,
OpenFoodFactsCountry? country,
List<TaxonomyPackagingMaterialField> fields = const [],
List<Parameter> additionalParameters = const [],
bool includeChildren = false,
}) : super(
TagType.PACKAGING_MATERIALS,
tags,
languages: languages,
country: country,
includeChildren: includeChildren,
fields: fields,
additionalParameters: additionalParameters,
);