weatherData property
- @JsonKey(includeFromJson: false, includeToJson: false)
Implementation
@JsonKey(includeFromJson: false, includeToJson: false)
WeatherData get weatherData => WeatherData(
temperature: temp,
weather: weather,
wind_speed: wind_speed,
wind_direction: wind_direction);
Implementation
set weatherData(WeatherData value) {
temp = value.temperature;
weather = value.weather;
wind_speed = value.wind_speed;
wind_direction = value.wind_direction;
}