BasePage<T> class
abstract
Base class that represents a generic response page.
- Implementers
Constructors
-
BasePage(BasePaging<
T> _paging, ParserFunction<T> pageItemParser, [Object? pageContainer])
Properties
- container → Object?
-
The object containing this page, if applicable
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLast → bool
-
true
if this page is the last page.false
otherwise.no setter -
items
→ Iterable<
T> ? -
The requested data
no setter
-
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 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