CLCmdWeatherData.from constructor

CLCmdWeatherData.from(
  1. PERIPHERAL_WEATHER_DATA v
)

Implementation

factory CLCmdWeatherData.from(PERIPHERAL_WEATHER_DATA v) {
  return CLCmdWeatherData(
      month: v.month,
      day: v.day,
      type: v.type,
      temperature_low: v.temperature_low,
      temperature_high: v.temperature_high,
      aqi: v.aqi);
}