withEncryptionMetadata method
Future<DecryptedDocument>
withEncryptionMetadata(
- DecryptedDocument? base,
- Message? message, {
- User? user,
- Map<
String, AccessLevel> delegates = const {}, - 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,
);
}