Taf class

Parser for TAF reports.

Constructors

Taf(String code, {int? year, int? month, bool truncate = false})

Properties

body String
Get the body part of the TAF.
no setter
cancelled → Cancelled
Get the cancelled group data of the TAF.
no setter
changesForecasted → TafChangesForecasted
Get the weather change periods data of the TAF if provided.
no setter
clouds → CloudList
Get the cloud groups data of the METAR.
no setterinherited
flightRules String?
Get the flight rules of the report or forecast.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
maxTemperatures → TafTemperatureList
Get the maximum temperature expected to happen.
no setter
minTemperatures → TafTemperatureList
Get the minimum temperature expected to happen.
no setter
missing → Missing
Get the missing data of the TAF.
no setter
modifier → Modifier
Get the modifier type of the report.
no setterinherited
prevailingVisibility → MetarPrevailingVisibility
Get the prevailing visibility data of the report.
no setterinherited
rawCode String
Get the raw code as its received in the instance.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sections List<String>
Get the report separated in its sections as a list of strings.
no setterinherited
station → Station
Get the station data of the report.
no setterinherited
time → Time
Get the time of the report.
no setterinherited
type_ → ReportType
Get the type of the report.
no setterinherited
unparsedGroups List<String>
Get the unparsed groups of the report.
no setterinherited
valid → Valid
Get the dates of valid period of the forecast.
no setterinherited
weatherChanges String
Get the weather changes of the TAF.
no setter
weathers → GroupList<MetarWeather>
Get the weather data of the report if provided.
no setterinherited
wind → MetarWind
Get the wind data of the report.
no setterinherited

Methods

asMap() Map<String, Object?>
Returns the report data as a map like Map<String, Object?>.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldBeCavok() bool
Analyses the conditions for CAVOK in the report. Returns true if CAVOK should be reported, false if not or if there is no data to make a complete analysis.
inherited
toJSON() String
Returns the report data as a string in JSON format.
inherited
toString() String
A string representation of this object.
inherited

Operators

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