MessageBasicPlatformApi class

Constructors

MessageBasicPlatformApi(MethodChannel _methodChannel)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteMessage(String sdkId, Message message) Future<DocIdentifier>
deleteMessageById(String sdkId, String entityId, String rev) Future<DocIdentifier>
deleteMessages(String sdkId, List<Message> messages) Future<List<DocIdentifier>>
deleteMessagesByIds(String sdkId, List<IdWithMandatoryRev> entityIds) Future<List<DocIdentifier>>
filterMessagesBy(String sdkId, BaseFilterOptions<Message> filter) Future<PaginatedListIterator<EncryptedMessage>>
filterMessagesBySorted(String sdkId, BaseSortableFilterOptions<Message> filter) Future<PaginatedListIterator<EncryptedMessage>>
getMessage(String sdkId, String entityId) Future<EncryptedMessage>
getMessages(String sdkId, List<String> entityIds) Future<List<EncryptedMessage>>
matchMessagesBy(String sdkId, BaseFilterOptions<Message> filter) Future<List<String>>
matchMessagesBySorted(String sdkId, BaseSortableFilterOptions<Message> filter) Future<List<String>>
modifyMessage(String sdkId, EncryptedMessage entity) Future<EncryptedMessage>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
purgeMessage(String sdkId, Message message) Future<void>
purgeMessageById(String sdkId, String id, String rev) Future<void>
setMessagesReadStatus(String sdkId, List<String> entityIds, int? time, bool readStatus, String? userId) Future<List<EncryptedMessage>>
subscribeToEvents(String sdkId, Set<SubscriptionEventType> events, BaseFilterOptions<Message> filter, EntitySubscriptionConfiguration? subscriptionConfig) Future<EntitySubscription<EncryptedMessage>>
toString() String
A string representation of this object.
inherited
undeleteMessage(String sdkId, Message message) Future<Message>
undeleteMessageById(String sdkId, String id, String rev) Future<EncryptedMessage>

Operators

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