setRawSecondaryAttachment method

Future<EncryptedDocument> setRawSecondaryAttachment(
  1. String documentId,
  2. String key,
  3. String rev,
  4. List<String>? utis,
  5. Uint8List attachment,
  6. bool encrypted,
)

Implementation

Future<EncryptedDocument> setRawSecondaryAttachment(String documentId, String key, String rev, List<String>? utis, Uint8List attachment, bool encrypted) async {
	return await CardinalSdkPlatformInterface.instance.apis.document.setRawSecondaryAttachment(
		_sdkId,
		documentId,
		key,
		rev,
		utis,
		attachment,
		encrypted,
	);
}