ConversationQuery class
IM Conversation Query of RTM Plugin.
Properties
- client → Client
-
Which Client that the ConversationQuery belongs to.
final
- condition ↔ _LCCompositionalCondition
-
getter/setter pair
- excludeMembers ↔ bool?
-
Whether the queried Conversations not contain Conversation.members, default is
false.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- includeLastMessage ↔ bool?
-
Whether the queried Conversations contain Conversation.lastMessage, default is
false.getter/setter pair - limit ↔ int?
-
The max count of the query result, default is
10.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skip ↔ int?
-
The offset of the query, default is
0.getter/setter pair - sort ↔ String?
-
The order by the key of Conversation.
getter/setter pair
- whereString ↔ String?
-
The String representation of the where condition.
getter/setter pair
Methods
-
addAscendingOrder(
String key) → ConversationQuery -
Adding a ascending order by the value corresponding to
keyto the order. -
addDescendingOrder(
String key) → ConversationQuery -
Adding a descending order by the value corresponding to
keyto the order. -
call(
{required String method, required Map arguments}) → Future -
inherited
-
errorFrom(
Map result) → RTMException -
inherited
-
find<
T extends Conversation> () → Future< List< T> > - To find the Conversation.
-
findTemporaryConversations(
{required List< String> temporaryConversationIDs}) → Future<List< TemporaryConversation> > - To find the TemporaryConversation by IDs.
-
isFailure(
Map result) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
orderByAscending(
String key) → ConversationQuery -
The ascending order by the value corresponding to
key, support for multi-field sorting with comma. -
orderByDescending(
String key) → ConversationQuery -
The descending order by the value corresponding to
key, support for multi-field sorting with comma. -
parseIsoString(
String? isoString) → DateTime? -
inherited
-
parseMilliseconds(
int? milliseconds) → DateTime? -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
whereContainedIn(
String key, List values) → ConversationQuery -
valuescontains value corresponding tokey, orvaluescontains at least one element in the array corresponding tokey. -
whereContains(
String key, String subString) → ConversationQuery -
The string corresponding to
keyhas asubString. -
whereContainsAll(
String key, List values) → ConversationQuery -
The array corresponding to
keycontains all elements invalues. -
whereDoesNotExist(
String key) → ConversationQuery -
The field corresponding to
keydoes not exist. -
whereEndsWith(
String key, String suffix) → ConversationQuery -
The string corresponding to
keyhas asuffix. -
whereEqualTo(
String key, dynamic value) → ConversationQuery -
The value corresponding to
keyis equal tovalue, or the array corresponding tokeycontainsvalue. -
whereExists(
String key) → ConversationQuery -
The field corresponding to
keyexists. -
whereGreaterThan(
String key, dynamic value) → ConversationQuery -
The value corresponding to
keyis greater thanvalue. -
whereGreaterThanOrEqualTo(
String key, dynamic value) → ConversationQuery -
The value corresponding to
keyis greater than or equal tovalue. -
whereLessThan(
String key, dynamic value) → ConversationQuery -
The value corresponding to
keyis less thanvalue. -
whereLessThanOrEqualTo(
String key, dynamic value) → ConversationQuery -
The value corresponding to
keyis less than or equal tovalue. -
whereMatches(
String key, String regex, {String? modifiers}) → ConversationQuery -
The string corresponding to
keymatchesregex.modifiersreference: -
whereNotContainedIn(
String key, List values) → ConversationQuery -
valuesdoes not contain value corresponding tokey, or the field corresponding tokeydoes not exist. -
whereNotEqualTo(
String key, dynamic value) → ConversationQuery -
The value corresponding to
keyis not equal tovalue, or the array corresponding tokeydoes not containvalue. -
whereSizeEqualTo(
String key, int size) → ConversationQuery -
The size of the array corresponding to
keyis equal tosize. -
whereStartsWith(
String key, String prefix) → ConversationQuery -
The string corresponding to
keyhas aprefix.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
and(
List< ConversationQuery> queries) → ConversationQuery - Performs a logical AND operation on an array of one or more queries.
-
or(
List< ConversationQuery> queries) → ConversationQuery - Performs a logical OR operation on an array of one or more queries.