PaginationEntity<T> class

Paginated data

Constructors

PaginationEntity({required int count, required int total, required int totalPage, required int pageSize, required int currentPageNumber, required bool hasMore, required Iterable<T> data})
const

Properties

count int
Number of elements already fetched
final
currentPageNumber int
Last and current page fetched
final
data Iterable<T>
The fetched data
final
hashCode int
The hash code for this object.
no setterinherited
hasMore bool
Another page is available
final
pageSize int
Number of element fetched on this page
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total int
Number of elements available
final
totalPage int
Number of available pages to fetch
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

Operators

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