deleteMedicalDevices method

  1. @override
Future<List<String>?> deleteMedicalDevices(
  1. List<String> requestBody
)
override

Delete a batch of MedicalDevice

Deletes the batch of medical device identified by the provided medicalDeviceIds.

Parameters:

Implementation

@override
Future<List<String>?> deleteMedicalDevices(List<String> requestBody) async {
  return (await api.baseDeviceApi.deleteDevices(base_api.ListOfIdsDto(ids: requestBody)))?.map((e) => e.rev!).toList();
}