Time class

Basic structure for time code groups in reports from land stations.

Inheritance

Constructors

Time({String? code, String? day, String? hour, String? minute, int? year, int? month, DateTime? time})
Time.fromMetar({String? code, RegExpMatch? match, int? year, int? month})
factory

Properties

code String?
Get the code of the group.
no setterinherited
day int
Get the day of the report.
no setter
hashCode int
The hash code for this object.
no setterinherited
hour int
Get the hour of the report.
no setter
length int
Get the length of the code of the group.
no setterinherited
minute int
Get the minute of the report.
no setter
month int
Get the month of the report.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time DateTime
Get the time of the report.
no setter
year int
Get the year of the report.
no setter

Methods

asMap() Map<String, String?>
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