Valid class

Basic structure for valid time groups in change periods and forecasts.

Inheritance

Constructors

Valid(String? code, Time _from, Time _until)
Valid.fromTaf(String? code, RegExpMatch? match, DateTime time)
Named constructor of the Valid class using a TAF like group of valid period of time.

Properties

code String?
Get the code of the group.
no setterinherited
duration Duration
Get the validity of the forecast.
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
periodFrom Time
Get the time period from of the forecast.
no setter
periodUntil Time
Get the time period until of the forecast.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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