PagenatedResponse<T> class

Constructors

PagenatedResponse({required List<T> docs, required int totalDocs, required int offset, required int limit, required int totalPages, required int page, required int pagingCounter, required bool hasPrevPage, required bool hasNextPage, int? prevPage, int? nextPage})
PagenatedResponse.fromJson(Map<String, dynamic> json)
factory

Properties

docs List<T>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasNextPage bool
getter/setter pair
hasPrevPage bool
getter/setter pair
limit int
getter/setter pair
nextPage int?
getter/setter pair
offset int
getter/setter pair
page int
getter/setter pair
pagingCounter int
getter/setter pair
prevPage int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalDocs int
getter/setter pair
totalPages int
getter/setter pair

Methods

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