PaginationResult<TPaginationKey extends Object, TResult extends Object> class

Contains a set of elements and optionally a next page token

Constructors

PaginationResult.error({required Object? error})
PaginationResult.items({required List<TResult> elements, required Pagination? paginationInfo})

Properties

elements → List<TResult>
no setter
error → Object
no setter
hasElements → bool
no setter
hasError → bool
no setter
hashCode → int
The hash code for this object.
no setterinherited
hasNextPageToken → bool
no setter
lastPageToken → Object
no setter
length → int
no setter
nextPageToken → TPaginationKey?
no setter
paginationInfo → Pagination?
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