EMCursorResult<T> class
带游标及分页获取结果的泛型类。 做为分页获取且含有游标的返回对象。
示例代码如下:
String? cursor;
EMCursorResult<EMGroup> result = await EMClient.getInstance.groupManager.getPublicGroupsFromServer(pageSize: 10, cursor: cursor);
List<EMGroup>? group = result.data;
cursor = result.cursor;
Constructors
-
EMCursorResult.fromJson(Map<
String, dynamic> map, {dynamic dataItemCallback = CursorResultCallback}) -
factory
Properties
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