getPatientResolvingMerges method
Implementation
Future<DecryptedPatient> getPatientResolvingMerges(String sdkId, String patientId, int? maxMergeDepth) async {
final res = await _methodChannel.invokeMethod<String>(
'PatientApi.getPatientResolvingMerges',
{
"sdkId": sdkId,
"patientId": jsonEncode(patientId),
"maxMergeDepth": jsonEncode(maxMergeDepth),
}
);
if (res == null) throw AssertionError("received null result from platform method getPatientResolvingMerges");
final parsedResJson = jsonDecode(res);
return DecryptedPatient.fromJSON(parsedResJson);
}