PagingData<T> class
分页数据
Constructors
-
PagingData.new({int? page, int? size, int? total, int? pages, List<
T> ? data}) -
PagingData.fromJson(dynamic json, ResultParser<
T> parser)
Properties
-
data
↔ List<
T> ? -
数据
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- page ↔ int?
-
当前页数
getter/setter pair
- pages ↔ int?
-
总页数
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size ↔ int?
-
每页数量
getter/setter pair
- total ↔ int?
-
总流水数
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited