Pageable class

Pagination information.

Constructors

Pageable({int page = 0, int size = 20, List<Sort>? sort})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
offset → int
The offset for the database query.
no setter
page → int
The page number (0-indexed).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int
The size of the page.
final
sort → List<Sort>?
Optional sorting.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
withPage(int page) → Pageable
Creates a new Pageable with the given page number.

Operators

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