Pagination<T extends Jsonable<Object> > class
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
- Pagination({String? first, String? prev, String? next, String? last, int? total, double? totalAmount})
-
Pagination.fromJson(Map<
String, dynamic> json) -
factory
Properties
- first ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- last ↔ String?
-
getter/setter pair
- next ↔ String?
-
getter/setter pair
- prev ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- total ↔ int?
-
getter/setter pair
- totalAmount ↔ double?
-
getter/setter pair
Methods
-
fromJsonList(
List? jsonList) → List< Pagination< ?Jsonable< >Object> > -
inherited
-
fromJsonMap(
Map< String, dynamic> ? json) → Pagination<Jsonable< ?Object> > -
fromJsonString(
String? json) → Pagination< Jsonable< ?Object> > -
inherited
-
fromJsonStringList(
String? jsonStringList) → List< Pagination< ?Jsonable< >Object> > -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toJsonMap(
) → Map< String, dynamic> -
inherited
-
toJsonString(
) → String -
inherited
-
toString(
) → String -
This is just to suggest children to implement a named constructor to
support creating objects fromJson(...) and fromJsonString(...) as easy as
T.build().fromJson(...) or T.build().fromJsonString(...)
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- paginationParam → const String
- totalCountHeader → const String