CategoryProductQuery class

Back-end query about a category.

Inheritance

Constructors

CategoryProductQuery(String categoryTag, {required ProductType productType, bool world = false, List<String> unwantedIngredients = const <String>[]})

Properties

categoryTag → String
final
country → OpenFoodFactsCountry?
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
language → OpenFoodFactsLanguage
finalinherited
pageNumber → int
no setterinherited
pageSize → int
finalinherited
productType → ProductType
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unwantedIngredients → List<String>
final
world → bool
Is that the world mode (true), or the standard country mode (false).
finalinherited

Methods

getParameter() → Parameter
override
getProductList() → ProductList
override
getQueryConfiguration() → AbstractQueryConfiguration
inherited
getSearchResult() → Future<SearchResult>
inherited
getUnwantedIngredientsParameter() → IngredientsUnwantedParameter
override
getWorldQuery() → PagedProductQuery?
Returns the same query but without country: "for the whole world".
override
hasDifferentCountryWorldData() → bool
Is that a query that has potentially different data for country and world?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNextPage() → void
inherited
toString() → String
A string representation of this object.
override
toTopPage() → void
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited