ProductSearchQueryConfiguration constructor
ProductSearchQueryConfiguration({
- OpenFoodFactsLanguage? language,
- List<
OpenFoodFactsLanguage> languages = const [], - OpenFoodFactsCountry? country,
- List<
ProductField> ? fields, - required List<
Parameter> parametersList, - required ProductQueryVersion version,
See AbstractQueryConfiguration.languages for parameter's description.
Implementation
ProductSearchQueryConfiguration({
final OpenFoodFactsLanguage? language,
final List<OpenFoodFactsLanguage> languages = const [],
final OpenFoodFactsCountry? country,
final List<ProductField>? fields,
required List<Parameter> parametersList,
required this.version,
}) : super(
language: language,
languages: languages,
country: country,
fields: fields,
additionalParameters: parametersList,
);