HourlyForecast class
Contains the air quality information for each hour in the requested range.
For example, if the request is for 48 hours of forecast there will be 48 elements of hourly forecasts.
Constructors
-
HourlyForecast({String? dateTime, HealthRecommendations? healthRecommendations, List<
AirQualityIndex> ? indexes, List<Pollutant> ? pollutants}) - HourlyForecast.fromJson(Map json_)
Properties
- dateTime ↔ String?
-
A rounded down timestamp indicating the time (hour) the data refers to in
RFC3339 UTC "Zulu" format.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- healthRecommendations ↔ HealthRecommendations?
-
Health advice and recommended actions related to the reported air quality
conditions.
getter/setter pair
-
indexes
↔ List<
AirQualityIndex> ? -
Based on the request parameters, this list will include (up to) two air
quality indexes: - Universal AQI.
getter/setter pair
-
pollutants
↔ List<
Pollutant> ? -
A list of pollutants affecting the location specified in the request.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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