MagicPage<E> class
One page, as a MagicPageFetcher reports it.
The fetcher has already decoded its own response, so this says only what the paginator cannot work out for itself: the rows, and whether anything follows them. Supply nextCursor when the source pages by token, or hasMore when it pages by something the paginator never sees (an offset the source keeps, a page number, a "has_more" flag). A non-null nextCursor implies more.
- Annotations
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasMore → bool
-
Whether the source reported a page after this one.
no setter
-
items
→ List<
E> -
The rows on this page.
final
- nextCursor → String?
-
The token that fetches the page after this one, or null when there is none.
final
- 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