encryptAndSetMainAttachment method

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

Implementation

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