PagingDetails class

Inheritance
Implemented types

Constructors

PagingDetails.new({required int totalItems, int currentPage = 0, int pageSize = 0, String sortField = '', String sortOrder = ''})
const
PagingDetails.fromJson(Map<String, dynamic> json)
factory

Properties

currentPage int
finalinherited
hashCode int
The hash code for this object.
no setterinherited
pageSize int
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sortField String
finalinherited
sortOrder String
finalinherited
totalItems int
final

Methods

copyWith({int? currentPage, int? pageSize, String? sortField, String? sortOrder}) PagingRestrictions
inherited
getOffset() int
inherited
getSortOrder() PagingSortOrder
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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