TaxonomyPackagingQueryConfiguration.roots constructor

TaxonomyPackagingQueryConfiguration.roots({
  1. List<OpenFoodFactsLanguage>? languages,
  2. OpenFoodFactsCountry? country,
  3. List<TaxonomyPackagingField> fields = const [],
  4. List<Parameter> additionalParameters = const [],
})

Configuration to get the root packagings.

Implementation

TaxonomyPackagingQueryConfiguration.roots({
  final List<OpenFoodFactsLanguage>? languages,
  final OpenFoodFactsCountry? country,
  final List<TaxonomyPackagingField> fields = const [],
  final List<Parameter> additionalParameters = const [],
}) : super.roots(
        TagType.PACKAGING,
        languages: languages,
        country: country,
        fields: fields,
        additionalParameters: additionalParameters,
      );