PageInfo<K> class

Info of a Page in Pagination.

Represents a GraphQL Cursor Connections Specification page info structure.

Constructors

PageInfo({bool hasNext = false, bool hasPrevious = false, K? startCursor, K? endCursor})

Properties

endCursor ↔ K?
Cursor of the last item in the Page this PageInfo is about.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasNext bool
Indicator whether the next Page exists.
getter/setter pair
hasPrevious bool
Indicator whether the previous Page exists.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startCursor ↔ K?
Cursor of the first item in the Page this PageInfo is about.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited