TaxonomyPackagingMaterialQueryConfiguration constructor

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