km property

Length get km

Creates a Length instance representing this numerical value in Kilometers (km).

Implementation

Length get km => Length(toDouble(), LengthUnit.kilometer);