UserProductSearchQueryConfiguration constructor

UserProductSearchQueryConfiguration({
  1. required UserProductSearchType type,
  2. required String userId,
  3. OpenFoodFactsLanguage? language,
  4. List<OpenFoodFactsLanguage> languages = const [],
  5. List<ProductField>? fields,
  6. int? pageNumber,
  7. int? pageSize,
})

Implementation

UserProductSearchQueryConfiguration({
  required this.type,
  required this.userId,
  final OpenFoodFactsLanguage? language,
  final List<OpenFoodFactsLanguage> languages = const [],
  final List<ProductField>? fields,
  final int? pageNumber,
  final int? pageSize,
}) : super(
        language: language,
        languages: languages,
        fields: fields,
        additionalParameters: _convertToParametersList(pageNumber, pageSize),
      );