getAndDecryptMainAttachment method

Future<Uint8List> getAndDecryptMainAttachment(
  1. Document document, {
  2. bool decryptedAttachmentValidator(
    1. Uint8List
    )?,
})

Implementation

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