PageResult<T, C extends Object> class
final
One fetched page. Named PageResult to avoid clashing with Flutter's
Page.
Constructors
-
PageResult(List<
T> items, {C? next, C? previous, int? totalCount}) -
Creates a page result.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ List<
T> -
Items in LIST order (top to bottom), whatever the request direction.
final
- next → C?
-
Cursor of the page after this one;
nullmeans no more in that direction.final - previous → C?
-
Cursor of the page before this one;
nullmeans no more in that direction.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalCount → int?
-
Optional server total. Informational: never used to derive
hasMore.final
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