WeatherType enum

The enum for identifying what the weather condition is. The main description parameter provides one suitable for display, so this is primarily provided to aid in implementing conditional logic dependent on the weather, for example, a dynamic background

Inheritance

Constructors

WeatherType()
const

Values

ClearDay → const WeatherType
ClearNight → const WeatherType
LightCloudyDay → const WeatherType
LightCloudyNight → const WeatherType
MediumCloudyDay → const WeatherType
MediumCloudyNight → const WeatherType
HeavyCloudyDay → const WeatherType
HeavyCloudyNight → const WeatherType
Overcast → const WeatherType
Dusty → const WeatherType
Foggy → const WeatherType
Hazy → const WeatherType
Thunder → const WeatherType
LightRain → const WeatherType
MediumRain → const WeatherType
HeavyRain → const WeatherType
FreezingRain → const WeatherType
Hail → const WeatherType
Sleet → const WeatherType
LightSnow → const WeatherType
MediumSnow → const WeatherType
HeavySnow → const WeatherType

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<WeatherType>
A constant List of the values in this enum, in order of their declaration.