weatherCondition property
WeatherCondition
get
weatherCondition
Weather condition text for the current weather, for example 'cloudy'.
Implementation
WeatherCondition get weatherCondition => _weatherCondition;
set
weatherCondition
(WeatherCondition weatherCondition)
Implementation
set weatherCondition(WeatherCondition weatherCondition) {
if (weatherCondition != _weatherCondition) {
_weatherCondition = weatherCondition;
notifyListeners();
}
}