PaginatedQueryFunctions<T> class
Functions are saved on RemoterClient when widget mounts
RemoterClient uses these to fetch following pages
pages
represents all pages in current query
Query should have RemoterStatus.success status to be able to call these functions
Constructors
-
PaginatedQueryFunctions({dynamic getPreviousPageParam(List<
T> pages)?, dynamic getNextPageParam(List<T> pages)?}) -
Functions are saved on RemoterClient when widget mounts
RemoterClient uses these to fetch following pages
pages
represents all pages in current query Query should have RemoterStatus.success status to be able to call these functions
Properties
-
getNextPageParam
→ (dynamic Function(List<
T> pages)?) -
Function is called when next page fetch is triggered
Returning value will be passed to the
execute
functionfinal -
getPreviousPageParam
→ (dynamic Function(List<
T> pages)?) -
Function is called when previous page fetch is triggered
Returning value will be passed to the
execute
functionfinal - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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