weatherData property

  1. @JsonKey(includeFromJson: false, includeToJson: false)
WeatherData get weatherData

Implementation

@JsonKey(includeFromJson: false, includeToJson: false)
WeatherData get weatherData => WeatherData(
    temperature: temp,
    weather: weather,
    wind_speed: wind_speed,
    wind_direction: wind_direction);
set weatherData (WeatherData value)

Implementation

set weatherData(WeatherData value) {
  temp = value.temperature;
  weather = value.weather;
  wind_speed = value.wind_speed;
  wind_direction = value.wind_direction;
}