PaginatedResponse<T> class

Constructors

PaginatedResponse({required List<T> content, required int totalElements, required int page, required int totalPages})
PaginatedResponse.fromJson(Map<String, dynamic> json, T fromJsonT(Map<String, dynamic>))
factory

Properties

content List<T>
final
hashCode int
The hash code for this object.
no setterinherited
page int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalElements int
final
totalPages int
final

Methods

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

Operators

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