PagedProductQuery class abstract
Paged product query (with pageSize and pageNumber).
Constructors
- PagedProductQuery({required ProductType productType, bool world = false})
Properties
- country → OpenFoodFactsCountry?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- language → OpenFoodFactsLanguage
-
final
- pageNumber → int
-
no setter
- pageSize → int
-
final
- productType → ProductType
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- world → bool
-
Is that the world mode (true), or the standard country mode (false).
final
Methods
-
getProductList(
) → ProductList -
getQueryConfiguration(
) → AbstractQueryConfiguration -
getSearchResult(
) → Future< SearchResult> -
getWorldQuery(
) → PagedProductQuery? - Returns the same query but without country: "for the whole world".
-
hasDifferentCountryWorldData(
) → bool - Is that a query that has potentially different data for country and world?
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toNextPage(
) → void -
toString(
) → String -
A string representation of this object.
inherited
-
toTopPage(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited