ReceiptPlatformApi class

Constructors

ReceiptPlatformApi(MethodChannel _methodChannel)

Properties

encrypted EncryptedReceiptPlatformApi
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 TryAndRecoverReceiptPlatformApi
getter/setter pair

Methods

createDelegationDeAnonymizationMetadata(String sdkId, Receipt entity, Set<String> delegates) Future<void>
createReceipt(String sdkId, DecryptedReceipt entity) Future<DecryptedReceipt>
decrypt(String sdkId, EncryptedReceipt receipt) Future<DecryptedReceipt>
decryptPatientIdOf(String sdkId, Receipt receipt) Future<Set<String>>
deleteReceipt(String sdkId, String entityId) Future<DocIdentifier>
deleteReceipts(String sdkId, List<String> entityIds) Future<List<DocIdentifier>>
encryptAndSetReceiptAttachment(String sdkId, Receipt receipt, String blobType, Uint8List attachment) Future<EncryptedReceipt>
getAndDecryptReceiptAttachment(String sdkId, Receipt receipt, String attachmentId) Future<Uint8List>
getEncryptionKeysOf(String sdkId, Receipt receipt) Future<Set<HexString>>
getRawReceiptAttachment(String sdkId, String receiptId, String attachmentId) Future<Uint8List>
getReceipt(String sdkId, String entityId) Future<DecryptedReceipt>
hasWriteAccess(String sdkId, Receipt receipt) Future<bool>
listByReference(String sdkId, String reference) Future<List<DecryptedReceipt>>
logReceipt(String sdkId, User user, String docId, List<String> refs, String blobType, Uint8List blob) Future<Receipt>
modifyReceipt(String sdkId, DecryptedReceipt entity) Future<DecryptedReceipt>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setRawReceiptAttachment(String sdkId, String receiptId, String rev, String blobType, Uint8List attachment) Future<EncryptedReceipt>
shareWith(String sdkId, String delegateId, DecryptedReceipt receipt, ReceiptShareOptions? options) Future<DecryptedReceipt>
shareWithMany(String sdkId, DecryptedReceipt receipt, Map<String, ReceiptShareOptions> delegates) Future<DecryptedReceipt>
toString() String
A string representation of this object.
inherited
tryDecrypt(String sdkId, EncryptedReceipt receipt) Future<Receipt>
withEncryptionMetadata(String sdkId, DecryptedReceipt? base, Patient? patient, User? user, Map<String, AccessLevel> delegates, SecretIdUseOption secretId) Future<DecryptedReceipt>

Operators

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