withEncryptionMetadata method

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

Implementation

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