ProductSearchQueryConfiguration constructor

ProductSearchQueryConfiguration({
  1. OpenFoodFactsLanguage? language,
  2. List<OpenFoodFactsLanguage> languages = const [],
  3. OpenFoodFactsCountry? country,
  4. List<ProductField>? fields,
  5. required List<Parameter> parametersList,
  6. 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,
      );