kemproApiV2DevicesIdTrendsTrendGet method

Future<Response<List<TrendValueV2>>> kemproApiV2DevicesIdTrendsTrendGet({
  1. required int? id,
  2. required TrendV2PathParam? trend,
  3. DateTime? since,
})

Get the historical trends for the given parameter of the device with the given ID @param id @param trend @param since

Implementation

Future<chopper.Response<List<TrendValueV2>>>
    kemproApiV2DevicesIdTrendsTrendGet({
  required int? id,
  required enums.TrendV2PathParam? trend,
  DateTime? since,
}) {
  generatedMapping.putIfAbsent(
      TrendValueV2, () => TrendValueV2.fromJsonFactory);

  return _kemproApiV2DevicesIdTrendsTrendGet(
      id: id, trend: trend?.value?.toString(), since: since);
}