Pagination<ReturnType> class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
first(
) → Future< PaginationState< ReturnType> > - Jumps to the first page.
-
last(
) → Future< PaginationState< ReturnType> > -
Jumps to the last page. This page will always have the last
pageSize
elements of the underlying query, regardless of whether the total document count is evenly divisible bypageSize
. -
next(
) → Future< PaginationState< ReturnType> > - Returns a future that completes when the next page of data is available.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
observeState(
) → Observable< PaginationState< ReturnType> > - Returns an observable that emits the current state of the pagination.
-
prev(
) → Future< PaginationState< ReturnType> > - Returns a future that completes when the previous page of data is available.
-
refreshPage(
) → Future< PaginationState< ReturnType> > - Refreshes the current page.
-
toString(
) → String -
A string representation of this object.
inherited
-
unsubscribe(
) → void -
waitForData(
) → Future< PaginationState< ReturnType> > - Returns a future that completes when the page of data is available.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited