Page<T> class

A page that uses an offset to get to the next page.

Inheritance

Constructors

Page(Paging<T> _paging, ParserFunction<T> pageItemParser, [Object? pageContainer])

Properties

container Object?
The object containing this page, if applicable
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isLast bool
true if this page is the last page. false otherwise.
no setteroverride
items Iterable<T>?
The requested data
no setterinherited
metadata Paging<T>
The offset-based paging object is a container for a set of objects. It contains a key called items (whose value is an array of the requested objects) along with other keys like previous, next and limit that can be useful in future calls.
no setterinherited
nextOffset int
Returns the offset for the next page.
no setter
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