withEncryptionMetadata method

Future<DecryptedDocument> withEncryptionMetadata(
  1. DecryptedDocument? base,
  2. Message? message, {
  3. User? user,
  4. Map<String, AccessLevel> delegates = const {},
  5. SecretIdUseOption secretId = SecretIdUseOption.UseAnySharedWithParent,
})

Implementation

Future<DecryptedDocument> withEncryptionMetadata(DecryptedDocument? base, Message? message, { User? user, Map<String, AccessLevel> delegates = const {}, SecretIdUseOption secretId = SecretIdUseOption.UseAnySharedWithParent }) async {
	return await CardinalSdkPlatformInterface.instance.apis.document.withEncryptionMetadata(
		_sdkId,
		base,
		message,
		user,
		delegates,
		secretId,
	);
}