ResultPage class abstract

Constructors

ResultPage()

Properties

columns List<Column>
no setter
hashCode int
The hash code for this object.
no setterinherited
hasWarnings bool
no setter
isLast bool
Whether this is the last page, or there may be more pages. There is no guarantee that the next page will contain items.
no setterinherited
items List<Row>
The items of the return page, may be less than the requested limit.
no setterinherited
pagingState Uint8List?
no setter
rows List<Row>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
warnings List<String>?
no setter

Methods

asIterator() StreamIterator<Row>
Transform the page and returns an iterator that can go through it asynchronously.
inherited
asStream() Stream<Row>
Transform the page to a stream of items.
inherited
close() Future<void>
Closes the page and associated resources.
inherited
map<R>(FutureOr<R> fn(Row item)) Future<Page<R>>
Maps the type of the items to a different type. The same mapper function will be called on subsequent pages.
inherited
mapItems<R>(FutureOr<List<R>> fn(List<Row> items)) Future<Page<R>>
Maps the type of the items to a different type. The same mapper function will be called on subsequent pages.
inherited
next() Future<Page<Row>>
Returns the next page.
inherited
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