convertFrom method

double convertFrom({
  1. required AngularUnit fromUnit,
  2. required double angle,
})

Converts a value in another UOM into this UOM.

Parameters:

  • fromUnit — The UOM to convert from.
  • angle — The value to convert.

Return Value: The value in the this UOM or NAN if the conversion fails.