LocationForecast constructor
LocationForecast({
- required DateTime updated,
- required Coordinates coord,
- required List<
Conditions> forecast,
Creates a LocationForecast instance.
The API users typically do not create LocationForecast instances directly.
Parameters
updated: UTC datetime when the forecast was last updated.coord: Geographic coordinates for this forecast.forecast: List of weather conditions for the location.
Implementation
LocationForecast({
required this.updated,
required this.coord,
required this.forecast,
});