PaginationData<T> class
- Annotations
-
- @JsonSerializable(explicitToJson: true, genericArgumentFactories: true)
Constructors
-
PaginationData({required List<
T> results, required int pageSize, required int pageNumber, required int totalCount, required int totalPages}) -
PaginationData.fromJson(Map<
String, dynamic> json, T fromJsonT(Object? json)) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pageNumber ↔ int
-
getter/setter pair
- pageSize ↔ int
-
getter/setter pair
-
results
↔ List<
T> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalCount ↔ 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(
Object toJsonT(T value)) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited