PaginationResponse<T> class
- Available Extensions
Constructors
-
PaginationResponse({SortPaginationResponse? sort, int? currentPage, required List<
Map< data, String? firstPageUrl, int? from, int? lastPage, String? lastPageUrl, String? nextPageUrl, String? path, int? perPage, String? prevPageUrl, int? to, int? total})String, dynamic> > -
PaginationResponse.fromJson(Map<
String, dynamic> json) -
factory
-
PaginationResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- currentPage ↔ int?
-
getter/setter pair
-
data
↔ List<
Map< String, dynamic> > -
getter/setter pair
- firstPageUrl ↔ String?
-
getter/setter pair
- from ↔ int?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- lastPage ↔ int?
-
getter/setter pair
- lastPageUrl ↔ String?
-
getter/setter pair
- nextPageUrl ↔ String?
-
getter/setter pair
- path ↔ String?
-
getter/setter pair
- perPage ↔ int?
-
getter/setter pair
- prevPageUrl ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sort ↔ SortPaginationResponse?
-
getter/setter pair
- to ↔ int?
-
getter/setter pair
- total ↔ int?
-
getter/setter pair
Methods
-
copyWith(
{SortPaginationResponse? sort, int? currentPage, List< Map< ? data, String? firstPageUrl, int? from, int? lastPage, String? lastPageUrl, String? nextPageUrl, String? path, int? perPage, String? prevPageUrl, int? to, int? total}) → PaginationResponse<String, dynamic> >T> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override