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