decryptPatientIdOf method
Implementation
Future<Set<EntityReferenceInGroup>> decryptPatientIdOf(String sdkId, HealthElement healthElement) async {
final res = await _methodChannel.invokeMethod<String>(
'HealthElementApi.decryptPatientIdOf',
{
"sdkId": sdkId,
"healthElement": jsonEncode(HealthElement.encode(healthElement)),
}
).catchError(convertPlatformException);
if (res == null) throw AssertionError("received null result from platform method decryptPatientIdOf");
final parsedResJson = jsonDecode(res);
return (parsedResJson as List<dynamic>).map((x1) => EntityReferenceInGroup.fromJSON(x1) ).toSet();
}