fromMeters method

double fromMeters(
  1. double value
)

Converts a meter value to this UOM.

Parameters:

  • value — The value to convert.

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

Implementation

double fromMeters(
  double value,
) {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_LinearUnit_fromMeters(
      _handle,
      value,
      errorHandler,
    );
  });
}