PaginationModel class

Constructors

PaginationModel({int page = 1, int pageSize = 8, SortBy sortBy = SortBy.date, SortOrder sortOrder = SortOrder.desc})
PaginationModel.small({int page = 1, int pageSize = 3, SortBy sortBy = SortBy.date, SortOrder sortOrder = SortOrder.desc})

Properties

hashCode → int
The hash code for this object.
no setterinherited
isEnded ↔ bool
getter/setter pair
page ↔ int
getter/setter pair
pageSize → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sortBy → SortBy
final
sortOrder → SortOrder
final

Methods

checkEnded(int responseLength) → void
nextPage() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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