fromRadians method

double fromRadians(
  1. double radians
)

Converts a radian value to this UOM.

Parameters:

  • radians — The value to convert.

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

Implementation

double fromRadians(double radians) {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_AngularUnit_fromRadians(
        _handle, radians, errorHandler);
  });
}