getAndDecryptSecondaryAttachment method

Future<Uint8List> getAndDecryptSecondaryAttachment(
  1. Document document,
  2. String key, {
  3. bool decryptedAttachmentValidator(
    1. Uint8List
    )?,
})

Implementation

Future<Uint8List> getAndDecryptSecondaryAttachment(Document document, String key, { bool Function(Uint8List)? decryptedAttachmentValidator }) async {
	return await CardinalSdkPlatformInterface.instance.apis.document.getAndDecryptSecondaryAttachment(
		_sdkId,
		document,
		key,
		decryptedAttachmentValidator,
	);
}