ConvertToDurationExtension extension
- on
Methods
-
convertTo(
TimeUnit unit, {UnitConversion conversion = casualConversion}) → double -
Available on Duration, provided by the ConvertToDurationExtension extension
Converts the Duration into a double representation of the provided TimeUnitunit
. The resulting duration has the same sign as this duration.