Length.inUnits constructor

Length.inUnits(
  1. dynamic value,
  2. LengthUnits? units, [
  3. double uncert = 0.0
])

Constructs a Length based on the value and the conversion factor intrinsic to the passed units.

Implementation

Length.inUnits(dynamic value, LengthUnits? units, [double uncert = 0.0])
    : super(value, units ?? Length.meters, uncert);