Distance class final

Distance holds the distance measurement data associated with a specific distance component.

Distance contains the value and associated LinearUnit of a specific distance component.

Implemented types

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unit LinearUnit
The unit of the Distance component.
no setter
value double
The value of the Distance component.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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