encryptAndSetSecondaryAttachment method

Future<EncryptedDocument> encryptAndSetSecondaryAttachment(
  1. Document document,
  2. String key,
  3. List<String>? utis,
  4. Uint8List attachment,
)

Implementation

Future<EncryptedDocument> encryptAndSetSecondaryAttachment(Document document, String key, List<String>? utis, Uint8List attachment) async {
	return await CardinalSdkPlatformInterface.instance.apis.document.encryptAndSetSecondaryAttachment(
		_sdkId,
		document,
		key,
		utis,
		attachment,
	);
}