Speed class

Basic structure for speed attributes.

Inheritance

Constructors

Speed(String? code)

Properties

beaufort → int?
Get the Beaufort scale number (0–12) representing wind speed intensity, or null if speed is unknown.
no setter
beaufortDescription → String?
Get a plain-English description of the Beaufort scale number, or null if speed is unknown.
no setter
hashCode → int
The hash code for this object.
no setterinherited
inKnot → double?
Get the speed in knot.
no setter
inKph → double?
Get the speed in kilometers per hour.
no setter
inMiph → double?
Get the speed in miles per hour.
no setter
inMps → double?
Get the speed in meters per second.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → double?
Get the value as a float.
no setterinherited

Methods

asMap() → Map<String, Object?>
Returns the numeric value data as a map like Map<String, dynamic>.
override
converted({double? conversionDouble, double conversionFunction(double)?}) → double?
inherited
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