DocumentPlatformApi class

Constructors

DocumentPlatformApi(MethodChannel _methodChannel)

Properties

encrypted EncryptedDocumentPlatformApi
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 TryAndRecoverDocumentPlatformApi
getter/setter pair

Methods

createDelegationDeAnonymizationMetadata(String sdkId, Document entity, Set<String> delegates) Future<void>
createDocument(String sdkId, DecryptedDocument entity) Future<DecryptedDocument>
decrypt(String sdkId, EncryptedDocument document) Future<DecryptedDocument>
decryptPatientIdOf(String sdkId, Document document) Future<Set<String>>
deleteDocument(String sdkId, Document document) Future<DocIdentifier>
deleteDocumentById(String sdkId, String entityId, String rev) Future<DocIdentifier>
deleteDocuments(String sdkId, List<Document> documents) Future<List<DocIdentifier>>
deleteDocumentsByIds(String sdkId, List<IdWithMandatoryRev> entityIds) Future<List<DocIdentifier>>
deleteMainAttachment(String sdkId, String entityId, String rev) Future<EncryptedDocument>
deleteSecondaryAttachment(String sdkId, String documentId, String key, String rev) Future<EncryptedDocument>
encryptAndSetMainAttachment(String sdkId, Document document, List<String>? utis, Uint8List attachment) Future<EncryptedDocument>
encryptAndSetSecondaryAttachment(String sdkId, Document document, String key, List<String>? utis, Uint8List attachment) Future<EncryptedDocument>
filterDocumentsBy(String sdkId, FilterOptions<Document> filter) Future<PaginatedListIterator<DecryptedDocument>>
filterDocumentsBySorted(String sdkId, SortableFilterOptions<Document> filter) Future<PaginatedListIterator<DecryptedDocument>>
getAndDecryptMainAttachment(String sdkId, Document document) Future<Uint8List>
getAndDecryptSecondaryAttachment(String sdkId, Document document, String key) Future<Uint8List>
getAndTryDecryptMainAttachment(String sdkId, Document document) Future<Uint8List?>
getDocument(String sdkId, String entityId) Future<DecryptedDocument>
getDocuments(String sdkId, List<String> entityIds) Future<List<DecryptedDocument>>
getEncryptionKeysOf(String sdkId, Document document) Future<Set<HexString>>
getRawMainAttachment(String sdkId, String documentId) Future<Uint8List>
getRawSecondaryAttachment(String sdkId, String documentId, String key) Future<Uint8List>
hasWriteAccess(String sdkId, Document document) Future<bool>
matchDocumentsBy(String sdkId, FilterOptions<Document> filter) Future<List<String>>
matchDocumentsBySorted(String sdkId, SortableFilterOptions<Document> filter) Future<List<String>>
modifyDocument(String sdkId, DecryptedDocument entity) Future<DecryptedDocument>
modifyDocuments(String sdkId, List<DecryptedDocument> entities) Future<List<DecryptedDocument>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
purgeDocument(String sdkId, Document document) Future<void>
purgeDocumentById(String sdkId, String id, String rev) Future<void>
setRawMainAttachment(String sdkId, String documentId, String rev, List<String>? utis, Uint8List attachment, bool encrypted) Future<EncryptedDocument>
setRawSecondaryAttachment(String sdkId, String documentId, String key, String rev, List<String>? utis, Uint8List attachment, bool encrypted) Future<EncryptedDocument>
shareWith(String sdkId, String delegateId, DecryptedDocument document, DocumentShareOptions? options) Future<DecryptedDocument>
shareWithMany(String sdkId, DecryptedDocument document, Map<String, DocumentShareOptions> delegates) Future<DecryptedDocument>
toString() String
A string representation of this object.
inherited
tryDecrypt(String sdkId, EncryptedDocument document) Future<Document>
tryDecryptAttachment(String sdkId, Document document, Uint8List encryptedAttachment) Future<Uint8List?>
undeleteDocument(String sdkId, Document document) Future<DecryptedDocument>
undeleteDocumentById(String sdkId, String id, String rev) Future<DecryptedDocument>
withEncryptionMetadata(String sdkId, DecryptedDocument? base, Message? message, User? user, Map<String, AccessLevel> delegates, SecretIdUseOption secretId) Future<DecryptedDocument>

Operators

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