kemproApiV2DevicesIdPeripheralsPeripheralGet method
- required int? id,
- required PeripheralV2PathParam? peripheral,
Get the peripheral data for the given peripheral of the device with the given ID @param id @param peripheral Path parameter for a peripheral of a device
Implementation
Future<chopper.Response<PeripheralV2>>
kemproApiV2DevicesIdPeripheralsPeripheralGet({
required int? id,
required enums.PeripheralV2PathParam? peripheral,
}) {
generatedMapping.putIfAbsent(
PeripheralV2, () => PeripheralV2.fromJsonFactory);
return _kemproApiV2DevicesIdPeripheralsPeripheralGet(
id: id, peripheral: peripheral?.value?.toString());
}