DocumentBasicPlatformApi class

Constructors

DocumentBasicPlatformApi(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

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>
filterDocumentsBy(String sdkId, BaseFilterOptions<Document> filter) Future<PaginatedListIterator<EncryptedDocument>>
filterDocumentsBySorted(String sdkId, BaseSortableFilterOptions<Document> filter) Future<PaginatedListIterator<EncryptedDocument>>
getDocument(String sdkId, String entityId) Future<EncryptedDocument>
getDocuments(String sdkId, List<String> entityIds) Future<List<EncryptedDocument>>
getRawMainAttachment(String sdkId, String documentId) Future<Uint8List>
getRawSecondaryAttachment(String sdkId, String documentId, String key) Future<Uint8List>
matchDocumentsBy(String sdkId, BaseFilterOptions<Document> filter) Future<List<String>>
matchDocumentsBySorted(String sdkId, BaseSortableFilterOptions<Document> filter) Future<List<String>>
modifyDocument(String sdkId, EncryptedDocument entity) Future<EncryptedDocument>
modifyDocuments(String sdkId, List<EncryptedDocument> entities) Future<List<EncryptedDocument>>
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>
toString() String
A string representation of this object.
inherited
undeleteDocument(String sdkId, Document document) Future<EncryptedDocument>
undeleteDocumentById(String sdkId, String id, String rev) Future<EncryptedDocument>

Operators

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