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