PaginationMixin mixin

A mixin to handle pagination

Mixin Applications

Properties

currentPage int
no setter
lastPage int
no setter
total int
no setter
perPage int
no setter
hasNextPage bool
Returns true if the current page is less than the last page and the length of the list is less than the total number of items
no setter
nextParams PageParams
returns the next page params
no setter
hashCode int
The hash code for this object.
no setterinherited
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
resetPagination() → void
reset the pagination
toString() String
A string representation of this object.
inherited
updatePagination(PaginatedResponse response) → void
update the pagination

Operators

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