PaginationResult<TKey extends Object, TResult extends Object> class Null safety

Contains a set of elements and optionally a next page token

Constructors

PaginationResult.error({required Object? error})
PaginationResult.items({required List<TResult> elements, TKey? nextPageToken, int? size})

Properties

elements List<TResult>
read-only
error Object
read-only
hasElements bool
read-only
hasError bool
read-only
hashCode int
The hash code for this object.
read-onlyinherited
hasNextPageToken bool
read-only
length int
read-only
nextPageToken → TKey?
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

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