View Source Apple.WeatherKit.Condition (apple_weather_kit v0.5.0)
Provides static data about conditions.
Summary
Functions
Lists all possible conditions.
Functions
@spec list_conditions() :: [map(), ...]
Lists all possible conditions.
Every condition contains three attributes:
code
(string)type
(string), possible values are:"visibility"
"wind"
"precipitation"
"hazardous"
"winter-precipitation"
"hazardous-winter"
"tropical-hazard"
description
(string)
All the possible conditions are extracted from WeatherKit / WeatherCondition.