Pagination<T> class

Constructors

Pagination.new({required List<T> data, required int total, required int currentPage, required int perPage, required int lastPage, required int from, required int to})
const

Properties

currentPage int
final
data List<T>
final
from int
final
hashCode int
The hash code for this object.
no setterinherited
lastPage int
final
perPage int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to int
final
total int
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