SimplePageResult<T extends OrmEntity> class

Lightweight pagination payload that skips total counting.

Constructors

SimplePageResult({required List<QueryRow<T>> items, required int perPage, required int currentPage, required bool hasMorePages})
Creates a new SimplePageResult.

Properties

currentPage int
The current page number.
final
hashCode int
The hash code for this object.
no setterinherited
hasMorePages bool
Whether there are more pages after the current one.
final
items List<QueryRow<T>>
The items for the current page.
final
models List<T>
The models for the current page.
no setter
perPage int
The number of items per page.
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