DatabaseProductListSupplier class
Supplier of previous back-end results now stored in the local database.
- Inheritance
-
- Object
- ProductListSupplier
- DatabaseProductListSupplier
Constructors
- DatabaseProductListSupplier(PagedProductQuery pagedProductQuery, LocalDatabase localDatabase, int timestamp)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- localDatabase → LocalDatabase
-
finalinherited
- partialProductList → PartialProductList
-
finalinherited
- productQuery → PagedProductQuery
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → int?
-
finalinherited
Methods
-
asyncLoad(
) → Future< String?> -
Loads all results page after page.
override
-
clearBeyondTopPage(
) → Future< void> -
Clears the database from page 2.
inherited
-
getRefreshSupplier(
) → ProductListSupplier -
Returns a helper supplier in order to refresh the data
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited