TaxonomyCountryQueryConfiguration constructor

TaxonomyCountryQueryConfiguration(
  1. {required List<String> tags,
  2. List<OpenFoodFactsLanguage>? languages,
  3. OpenFoodFactsCountry? country,
  4. List<TaxonomyCountryField> fields = const [],
  5. List<Parameter> additionalParameters = const []}
)

Configuration to get the countries that match the tags.

Implementation

TaxonomyCountryQueryConfiguration({
  required List<String> tags,
  List<OpenFoodFactsLanguage>? languages,
  OpenFoodFactsCountry? country,
  List<TaxonomyCountryField> fields = const [],
  List<Parameter> additionalParameters = const [],
}) : super(
        TagType.COUNTRIES,
        tags,
        languages: languages,
        country: country,
        includeChildren: false,
        fields: fields,
        additionalParameters: additionalParameters,
      );