setRawMainAttachment method

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

Implementation

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