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