ConversationFetchOptions class
会话过滤类。
Constructors
- ConversationFetchOptions({int pageSize = 20, String? cursor})
-
ConversationFetchOptions 的构造函数。
pageSize
每页查询的会话数量, 取值范围为1,50
, 默认为 20。cursor
查询游标,即会话查询的起始位置。 - ConversationFetchOptions.mark(ConversationMarkType mark, {int pageSize = 10, String? cursor})
- ConversationFetchOptions 的构造函数。 获取标记的会话。
- ConversationFetchOptions.pinned({int pageSize = 20, String? cursor})
- ConversationFetchOptions 的构造函数。 获取置顶会话。
Properties
- cursor → String?
-
查询游标,即会话查询的起始位置。
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- mark → ConversationMarkType?
-
会话标记。
final
- pageSize → int
-
每页查询的会话数量, 取值范围为
1,10
, 默认为 10。final - pinned → bool
-
是否获取置顶会话。
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
copyWith(
{String? cursor}) → ConversationFetchOptions -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited