ChatPageResult<T> class

~english The ChatPageResult class, which is returned when calling the methods that fetch data by pagination. The SDK also returns the number of remaining pages and the data count of the next page. If the dada count is less than the count you set, there is no more data on server.

Param T Generics. ~end

~chinese 分页类。 该类包含下次查询的页码以及相应页面上的数据条数。 该对象在分页获取数据时返回。

Param T 泛型类型 T。 ~end

Constructors

ChatPageResult.fromJson(Map map, {dynamic dataItemCallback = PageResultCallback})
factory

Properties

data List<T>?
~english The result data. ~end
no setter
hashCode int
The hash code for this object.
no setterinherited
pageCount → dynamic
~english The page count. ~end
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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