Distance class

Inheritance

Constructors

Distance(double value)
Distance.withType(double value_, DistanceTypes type)
Distance.zero()

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type DistanceTypes
getter/setter pair
value double
getter/setter pair

Methods

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

Operators

operator *(Distance other) Distance
operator +(Distance other) Distance
operator -(Distance other) Distance
operator /(Distance other) Distance
operator ==(Object other) bool
The equality operator.
override