MessagePlatformApi class

Constructors

MessagePlatformApi(MethodChannel _methodChannel)

Properties

encrypted EncryptedMessagePlatformApi
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tryAndRecover TryAndRecoverMessagePlatformApi
getter/setter pair

Methods

createDelegationDeAnonymizationMetadata(String sdkId, Message entity, Set<String> delegates) Future<void>
createMessage(String sdkId, DecryptedMessage entity) Future<DecryptedMessage>
createMessageInTopic(String sdkId, DecryptedMessage entity) Future<DecryptedMessage>
decrypt(String sdkId, EncryptedMessage message) Future<DecryptedMessage>
decryptPatientIdOf(String sdkId, Message message) Future<Set<String>>
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, FilterOptions<Message> filter) Future<PaginatedListIterator<DecryptedMessage>>
filterMessagesBySorted(String sdkId, SortableFilterOptions<Message> filter) Future<PaginatedListIterator<DecryptedMessage>>
getEncryptionKeysOf(String sdkId, Message message) Future<Set<HexString>>
getMessage(String sdkId, String entityId) Future<DecryptedMessage>
getMessages(String sdkId, List<String> entityIds) Future<List<DecryptedMessage>>
hasWriteAccess(String sdkId, Message message) Future<bool>
matchMessagesBy(String sdkId, FilterOptions<Message> filter) Future<List<String>>
matchMessagesBySorted(String sdkId, SortableFilterOptions<Message> filter) Future<List<String>>
modifyMessage(String sdkId, DecryptedMessage entity) Future<DecryptedMessage>
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<DecryptedMessage>>
shareWith(String sdkId, String delegateId, DecryptedMessage message, MessageShareOptions? options) Future<DecryptedMessage>
shareWithMany(String sdkId, DecryptedMessage message, Map<String, MessageShareOptions> delegates) Future<DecryptedMessage>
subscribeToEvents(String sdkId, Set<SubscriptionEventType> events, FilterOptions<Message> filter, EntitySubscriptionConfiguration? subscriptionConfig) Future<EntitySubscription<EncryptedMessage>>
toString() String
A string representation of this object.
inherited
tryDecrypt(String sdkId, EncryptedMessage message) Future<Message>
undeleteMessage(String sdkId, Message message) Future<Message>
undeleteMessageById(String sdkId, String id, String rev) Future<DecryptedMessage>
withEncryptionMetadata(String sdkId, DecryptedMessage? base, Patient? patient, User? user, Map<String, AccessLevel> delegates, SecretIdUseOption secretId) Future<DecryptedMessage>

Operators

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