withEncryptionMetadata method
Future<DecryptedHealthElement>
withEncryptionMetadata(
- DecryptedHealthElement? base,
- Patient patient, {
- User? user,
- Map<
String, AccessLevel> delegates = const {}, - SecretIdUseOption secretId = SecretIdUseOption.UseAnySharedWithParent,
Implementation
Future<DecryptedHealthElement> withEncryptionMetadata(DecryptedHealthElement? base, Patient patient, { User? user, Map<String, AccessLevel> delegates = const {}, SecretIdUseOption secretId = SecretIdUseOption.UseAnySharedWithParent }) async {
return await CardinalSdkPlatformInterface.instance.apis.healthElement.withEncryptionMetadata(
_sdkId,
base,
patient,
user,
delegates,
secretId,
);
}