withEncryptionMetadata method

Future<GroupScoped<DecryptedHealthElement>> withEncryptionMetadata(
  1. String entityGroupId,
  2. DecryptedHealthElement? base,
  3. GroupScoped<Patient> patient, {
  4. User? user,
  5. Map<EntityReferenceInGroup, AccessLevel> delegates = const {},
  6. 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,
	);
}