getDataOwnersWithAccessTo method
Implementation
Future<EntityAccessInformation> getDataOwnersWithAccessTo(String sdkId, Patient patient) async {
final res = await _methodChannel.invokeMethod<String>(
'PatientApi.getDataOwnersWithAccessTo',
{
"sdkId": sdkId,
"patient": jsonEncode(Patient.encode(patient)),
}
);
if (res == null) throw AssertionError("received null result from platform method getDataOwnersWithAccessTo");
final parsedResJson = jsonDecode(res);
return EntityAccessInformation.fromJSON(parsedResJson);
}