Pager class

Constructors

Pager({int totalItems = 0, int currentPage = 1, int pageSize = 0, int totalPages = 0, int startPage = 0, int endPage = 0, int startIndex = 0, int endIndex = 0, List<int>? pages, Pager? pager})
Pager.fromJson(Map<String, dynamic> json)
Creates a new instance of Pager from a map structure.
factory

Properties

currentPage int
getter/setter pair
endIndex int
getter/setter pair
endPage int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pages List<int>
getter/setter pair
pageSize int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startIndex int
getter/setter pair
startPage int
getter/setter pair
totalItems int
getter/setter pair
totalPages int
getter/setter pair

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