MessageSearchQuery class Null safety

A query object to search messages



MessageSearchQuery({required String keyword})


advancedQuery bool
True if keyword contains advanced query style text
read / write
afterIndex String?
Index for search after
read / write
beforeIndex String?
Index for search before
read / write
channelCustomType String?
Channel custom type to filter
read / write
channelUrl String?
Channel url
read / write
exactMatch bool
true to be exact match for keyword
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
hasNext bool
True if query has next items to be queried
read / write, inherited
keyword String
Keyword to search
read / write
limit int
number of item per executing loadNext
read / write, inherited
loading bool
True if query is loading
read / write, inherited
messageTimestampFrom int?
Timestamp for search from
read / write
messageTimestampTo int?
Timestamp for search to
read / write
order MessageSearchQueryOrder
Message search result sort order
read / write
reverse bool
Determines whether to sort the retrieved messages in reverse order. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
targetFields List<String>
List of strings to look up message's data field to get matched
read / write
targetUserIds List<String>
List of user ids to filter out resultda
read / write
token String?
token for next query
read / write, inherited


loadNext() Future<List<BaseMessage>>
Load next items asynchronously
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]