ComPage<T> class

通用数据分页

Constructors

ComPage({int no = 0, int page = 0, int total = 0})

Properties

hashCode int
The hash code for this object.
no setterinherited
no int
集合序号(如查询CustomX时的集合序号)
final
page int
当前页码
getter/setter pair
pgasync int
分页加载序号
getter/setter pair
pgcache List<T>
分页缓存列表
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total int
数据总数量
getter/setter pair

Methods

append(T item, bool isRepeat(T a, T b)) bool
排重插入到缓存列表末尾
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