Speed.inUnits constructor

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

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

Implementation

Speed.inUnits(dynamic value, SpeedUnits? units, [double uncert = 0.0])
    : super(value, units ?? Speed.metersPerSecond, uncert);