Forecast class

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

Forecast()
Forecast.fromJson(Map<String, dynamic> json)
factory

Properties

alerts List<Alert>?
optional An alerts array, which, if present, contains any severe weather alerts pertinent to the requested location.
getter/setter pair
currently CurrentlyDataPoint?
optional A data point containing the current weather conditions at the requested location.
getter/setter pair
daily DailyDataBlock?
optional A data block containing the weather conditions day-by-day for the next week.
getter/setter pair
flags Flags?
optional A flags object containing miscellaneous metadata about the request.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hourly HourlyDataBlock?
optional A data block containing the weather conditions hour-by-hour for the next two days
getter/setter pair
latitude double?
required The requested latitude.
getter/setter pair
longitude double?
required The requested longitude.
getter/setter pair
minutely MinutelyDataBlock?
optional A data block containing the weather conditions minute-by-minute for the next hour.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timezone String?
required The IANA timezone name for the requested location. This is used for text summaries and for determining when hourly and daily data block objects begin.
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