CLCmdAirData.from constructor

CLCmdAirData.from(
  1. PERIPHERAL_AIR_DATA v
)

Implementation

factory CLCmdAirData.from(PERIPHERAL_AIR_DATA v) => CLCmdAirData(
    air_aqi: v.air_aqi,
    air_pm25: v.air_pm25,
    air_pm10: v.air_pm10,
    air_so2: v.air_so2,
    air_no2: v.air_no2,
    air_o3: v.air_o3,
    air_co: v.air_co,
    level_aqi: v.level_aqi,
    level_pm25: v.level_pm25,
    level_pm10: v.level_pm10,
    level_so2: v.level_so2,
    level_no2: v.level_no2,
    level_o3: v.level_o3,
    level_co: v.level_co);