LengthUnit class

Constructors

LengthUnit(double scaleFactor)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleFactor double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
to(LengthUnit unit, num value) double
toString() String
A string representation of this object.
inherited

Operators

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

Constants

Centimeter → const LengthUnit
Kilometer → const LengthUnit
Meter → const LengthUnit
Mile → const LengthUnit
Millimeter → const LengthUnit