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