withEncryptionMetadata method

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

Implementation

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