PaginatedResult class

Constructors

PaginatedResult.new({required List<Map<String, dynamic>> data, required int currentPage, required int perPage, required int total, required int lastPage, required bool isFirst, required bool isLast, required bool hasMore})

Properties

currentPage int
final
data List<Map<String, dynamic>>
final
hashCode int
The hash code for this object.
no setterinherited
hasMore bool
final
isFirst bool
final
isLast bool
final
lastPage int
final
perPage int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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