DailyWeather class

Daily weather data

Constructors

DailyWeather(int dt, int sunrise, int sunset, DailyTemperature temperature, DailyFeelsLike feelsLike, int pressure, int humidity, double dewPoint, Wind wind, List<Details> details, num clouds, num pop, num? rain, num? snow, num uvi)
Creates a DailyWeather object
DailyWeather.fromJson(Map<String, dynamic> json)
Creates a DailyWeather object from json
factory

Properties

clouds num
Cloudiness
final
details List<Details>
List of Details
final
dewPoint double
Atmospheric temperature (varying according to pressure and humidity) below which water droplets begin to condense and dew can form
final
dt int
Time of the forecasted data
final
feelsLike DailyFeelsLike
DailyFeelsLike object
final
hashCode int
The hash code for this object.
no setterinherited
humidity int
Humidity
final
pop num
Probability of precipitation
final
pressure int
Atmospheric pressure on the sea level
final
rain num?
Precipitation volume
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snow num?
Snow volume
final
sunrise int
Sunrise time, Unix, UTC
final
sunset int
Sunset time, Unix, UTC
final
temperature DailyTemperature
DailyTemperature object
final
uvi num
The maximum value of UV index for the day
final
wind Wind
Wind object
final

Methods

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

Operators

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

Static Methods

fromJsonArray(List array) List<DailyWeather>
Creates a list of DailyWeather from a list