PaginationInfo class

Annotations

Constructors

PaginationInfo({int currentPage = 1, int lastPage = 1, int total = 0, int from = 0, int to = 0})
const
PaginationInfo.fromJson(Map<String, dynamic> json)
factory

Properties

currentPage int
final
from int
final
hashCode int
The hash code for this object.
no setteroverride
lastPage int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to int
final
total int
final

Methods

clone() PaginationInfo
copyWith({int? currentPage, int? from, int? to, int? total, int? lastPage}) PaginationInfo
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.
override