getAndTryDecryptMainAttachment method

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

Implementation

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