PaginationData class

the pagination data which contains the perPage and totalPages

Constructors

PaginationData.new({required int perPage, required int totalPages})
the constructor which accepts two int

Properties

hashCode int
The hash code for this object.
no setterinherited
perPage int
number of items can pick in one request
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalPages int
total number of pages in database
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