TaxonomyPackagingShapeQueryConfiguration constructor

TaxonomyPackagingShapeQueryConfiguration({
  1. required List<String> tags,
  2. List<OpenFoodFactsLanguage>? languages,
  3. OpenFoodFactsCountry? country,
  4. List<TaxonomyPackagingShapeField> fields = const [],
  5. List<Parameter> additionalParameters = const [],
  6. 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,
      );