LocationForecast class Weather

Weather forecast for a specific geographic location.

Contains the forecast update time, coordinates, and a list of conditions representing weather data for the location.

Is obtained via WeatherService methods.

Constructors

LocationForecast({required DateTime updated, required Coordinates coord, required List<Conditions> forecast, List<Warning> warnings = const <Warning>[]})
Creates a LocationForecast instance.

Properties

coord ↔ Coordinates
Geographic coordinates for this forecast.
getter/setter pair
forecast ↔ List<Conditions>
Weather conditions for the forecast period.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updated ↔ DateTime
UTC datetime when the forecast was last updated.
getter/setter pair
warnings ↔ List<Warning>
Active weather warnings at the location.
getter/setter pair

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