V2TimUserSearchParam class

Constructors

V2TimUserSearchParam.new({required List<String> keywordList, int keywordListMatchType = V2TIM_KEYWORD_LIST_MATCH_TYPE_OR, int gender = 0, int minBirthday = 0, int maxBirthday = 0, int searchCount = 20, String searchCursor = ''})

Properties

gender int
用户性别(如果不设置,默认男性和女性都会返回)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
keywordList List<String>
搜索的关键字列表,关键字列表最多支持 5 个,keyword 会自动匹配用户 ID、昵称。
getter/setter pair
keywordListMatchType int
指定关键字列表匹配类型,可设置为“或”关系搜索或者“与”关系搜索。
getter/setter pair
maxBirthday int
用户最大生日(如果不设置,默认 birthday >= minBirthday 的用户都会返回)
getter/setter pair
minBirthday int
用户最小生日(如果不设置,默认值为 0)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchCount int
每次云端搜索返回结果的条数(必须大于 0,最大支持 100,默认 20)
getter/setter pair
searchCursor String
每次云端搜索的起始位置。第一次填空字符串,续拉时填写 V2TimUserSearchResult 中的返回值。
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toLogString() String
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited