filterMedicalDevices abstract method

Future<PaginatedListMedicalDevice?> filterMedicalDevices(
  1. Filter<MedicalDevice> filter, {
  2. String? nextDeviceId,
  3. int? limit,
})

Load devices from the database by filtering them using the provided filter.

Filters are complex selectors that are built by combining basic building blocks. Examples of filters available for MedicalDevice are AllDevicesFilter and DevicesByIdsFilter. This method returns a paginated list of medical devices (with a cursor that lets you query the following items).

Parameters:

  • Filter filter (required): The Filter object that describes which condition(s) the elements whose the ids should be returned must fulfill

  • String nextDeviceId: The id of the first device in the next page

  • int limit: The number of devices to return in the queried page

Implementation

Future<PaginatedListMedicalDevice?> filterMedicalDevices(Filter<MedicalDevice> filter, { String? nextDeviceId, int? limit, });