createDelegationDeAnonymizationMetadata method

Future<void> createDelegationDeAnonymizationMetadata(
  1. String sdkId,
  2. Patient entity,
  3. Set<String> delegates
)

Implementation

Future<void> createDelegationDeAnonymizationMetadata(String sdkId, Patient entity, Set<String> delegates) async {
	final res = await _methodChannel.invokeMethod<String>(
		'PatientApi.createDelegationDeAnonymizationMetadata',
		{
			"sdkId": sdkId,
			"entity": jsonEncode(Patient.encode(entity)),
			"delegates": jsonEncode(delegates.map((x0) => x0).toList()),
		}
	);
}