Pagination class

Constructors

Pagination({num? totalItems, num? perPage, num? currentPage, num? totalPages, num? from, num? to, dynamic nextPage, dynamic previousPage})
Pagination.fromJson(dynamic json)

Properties

currentPage num?
getter/setter pair
from num?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
nextPage ↔ dynamic
getter/setter pair
perPage num?
getter/setter pair
previousPage ↔ dynamic
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to num?
getter/setter pair
totalItems num?
getter/setter pair
totalPages num?
getter/setter pair

Methods

copyWith({num? totalItems, num? perPage, num? currentPage, num? totalPages, num? from, num? to, dynamic nextPage, dynamic previousPage}) Pagination
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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