ProductQueryConfiguration constructor

ProductQueryConfiguration(
  1. String barcode,
  2. {required ProductQueryVersion version,
  3. OpenFoodFactsLanguage? language,
  4. List<OpenFoodFactsLanguage>? languages,
  5. OpenFoodFactsCountry? country,
  6. List<ProductField>? fields}
)

See AbstractQueryConfiguration.languages for parameter's description.

Implementation

ProductQueryConfiguration(
  this.barcode, {
  required this.version,
  super.language,
  super.languages,
  super.country,
  super.fields,
});