UserListQuery class

#################### SECURITY TIPS #################### Before launching, you should review "Allow retrieving user list from SDK" under ⚙️ Sendbird Dashboard ->Settings -> Security. It's turned on at first to simplify running samples and implementing your first code. Most apps will want to disable "Allow retrieving user list from SDK" as that could possibly expose user information #################### SECURITY TIPS #################### A query object to retrieve user list

Inheritance
Implementers
Annotations
  • @JsonSerializable()

Constructors

UserListQuery({required UserListQueryType queryType, ChannelType? channelType, String? channelUrl, List<String>? userIds})

Properties

channelType ChannelType?
Channel type related to this query
getter/setter pair
channelUrl String?
Channel url related to this query
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasNext bool
True if query has next items to be queried
getter/setter pairinherited
limit int
number of item per executing loadNext
getter/setter pairinherited
loading bool
True if query is loading
getter/setter pairinherited
queryType UserListQueryType
Query type
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String?
token for next query
getter/setter pairinherited
userIds List<String>?
Filter for list of user ids
getter/setter pair

Methods

loadNext() Future<List<User>>
Load next items asynchronously
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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