TaxonomyQueryConfiguration<T extends JsonObject, F extends Enum>.roots constructor
TaxonomyQueryConfiguration<T extends JsonObject, F extends Enum>.roots (
- TagType tagType, {
- List<
OpenFoodFactsLanguage> ? languages, - OpenFoodFactsCountry? country,
- bool includeChildren = false,
- List<
F> fields = const [], - List<
Parameter> additionalParameters = const [],
Implementation
TaxonomyQueryConfiguration.roots(
this.tagType, {
List<OpenFoodFactsLanguage>? languages,
this.country,
this.includeChildren = false,
this.fields = const [],
this.additionalParameters = const [],
}) : _isRootConfiguration = true,
tags = const <String>[],
languages = languages ??
OpenFoodAPIConfiguration.globalLanguages ??
const <OpenFoodFactsLanguage>[];