modifyPatients method
Implementation
Future<List<IdWithRev>> modifyPatients(String sdkId, List<EncryptedPatient> patientDtos) async {
final res = await _methodChannel.invokeMethod<String>(
'PatientBasicApi.modifyPatients',
{
"sdkId": sdkId,
"patientDtos": jsonEncode(patientDtos.map((x0) => EncryptedPatient.encode(x0)).toList()),
}
);
if (res == null) throw AssertionError("received null result from platform method modifyPatients");
final parsedResJson = jsonDecode(res);
return (parsedResJson as List<dynamic>).map((x1) => IdWithRev.fromJSON(x1) ).toList();
}