MessageSearchQuery class Null safety

A query object to search messages

Inheritance
Annotations

Constructors

MessageSearchQuery({required String keyword})

Properties

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-onlyinherited
hasNext ↔ bool
True if query has next items to be queried
read / writeinherited
keyword ↔ String
Keyword to search
read / write
limit ↔ int
number of item per executing loadNext
read / writeinherited
loading ↔ bool
True if query is loading
read / writeinherited
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-onlyinherited
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 / writeinherited

Methods

loadNext() → Future<List<BaseMessage>>
Load next items asynchronously
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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