ConversationsRequest class

A request object for fetching conversations.

Properties

conversationType String?
Type of the conversation.
final
hashCode int
The hash code for this object.
no setterinherited
includeBlockedUsers bool?
Flag to include blocked users.
final
init bool?
Initial request flag.
getter/setter pair
key String?
Key for pagination.
getter/setter pair
limit int?
Number of results to limit the query.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<String>?
Tags for filtering.
final
withBlockedInfo bool?
Flag to include blocked information.
final
withTags bool?
Flag to include tags.
final
withUserAndGroupTags bool?
Flag to include user and group tags.
final

Methods

fetchNext({required dynamic onSuccess(List<Conversation> message)?, required dynamic onError(CometChatException excep)?}) Future<List<Conversation>>
Returns a list of Conversation object fetched after putting the filters.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

defaultLimit → const int
Default limit for the number of results.
maxLimit → const int
Maximum limit for the number of results.