LocationForecast class Weather

Weather forecast for a given geographic location.

Constructors

LocationForecast.new({required DateTime updated, required Coordinates coord, required List<Conditions> forecast})
Creates a LocationForecast instance.
LocationForecast.fromJson(Map<String, dynamic> json)
Creates a LocationForecast from a JSON map. Creates a LocationForecast from a JSON map.
factory

Properties

coord Coordinates
Geographic location for the forecast.
getter/setter pair
forecast List<Conditions>
List of forecast conditions.
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
Forecast update datetime (UTC).
getter/setter pair

Methods

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

Operators

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