kemApiV3DevicesIdEventsGet method

Future<Response<List<EventDTO>>> kemApiV3DevicesIdEventsGet({
  1. required int? id,
  2. DeviceHostDTO? sourceDeviceHost,
})

@param id @param sourceDeviceHost The cloud architecture which the device is connected to.

Implementation

Future<chopper.Response<List<EventDTO>>> kemApiV3DevicesIdEventsGet({
  required int? id,
  enums.DeviceHostDTO? sourceDeviceHost,
}) {
  generatedMapping.putIfAbsent(EventDTO, () => EventDTO.fromJsonFactory);

  return _kemApiV3DevicesIdEventsGet(
      id: id, sourceDeviceHost: sourceDeviceHost?.value?.toString());
}