Power.inUnits constructor

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

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

Implementation

Power.inUnits(dynamic value, PowerUnits? units, [double uncert = 0.0])
    : super(value, units ?? Power.watts, uncert);