withEncryptionMetadata method

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

Implementation

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