MetarTrendIndicator class

Basic structure for trend codes in METAR.

Inheritance

Constructors

MetarTrendIndicator(String? code, RegExpMatch? match, DateTime time)

Properties

code String?
Get the code of the group.
no setterinherited
forecastPeriod → (Time, Time)
Get the forcast period, i.e. the initial forecast time and the end forecast time.
no setter
hashCode int
The hash code for this object.
no setterinherited
length int
Get the length of the code of the group.
no setterinherited
periodAt Time?
Get the at forecast period.
no setter
periodFrom Time
Get the from forecast period.
no setter
periodUntil Time
Get the until forecast period.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
translation String?
Get the translation of the change indicator.
no setterinherited

Methods

addPeriod(String code, RegExpMatch match) → void
Helper to add periods of time to the change indicator.
asMap() Map<String, Object?>
Returns the object data as a map like Map<String, dynamic>.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() String
Returns the object data as a string in JSON format.
inherited
toString() String
A string representation of this object.
override

Operators

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