UserProductSearchQueryConfiguration constructor
UserProductSearchQueryConfiguration({
- required UserProductSearchType type,
- required String userId,
- OpenFoodFactsLanguage? language,
- List<
OpenFoodFactsLanguage> languages = const [], - List<
ProductField> ? fields, - int? pageNumber,
- 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),
);