weatherMap top-level constant

Map<WeatherCondition, String> const weatherMap

🕓🕓🕓🕓🕓🕓🕓🕓🕓 Helpers for the ClockModel

Implementation

//Map of Weather to Emoji
const weatherMap = {
  WeatherCondition.cloudy: 'weather_icons/cloud.png',
  WeatherCondition.foggy: 'weather_icons/fog.png',
  WeatherCondition.rainy: 'weather_icons/rain.png',
  WeatherCondition.snowy: 'weather_icons/snow.png',
  WeatherCondition.sunny: 'weather_icons/sun.png',
  WeatherCondition.thunderstorm: 'weather_icons/thunder.png',
  WeatherCondition.windy: 'weather_icons/wind.png'
};