fromSquareMeters method

double fromSquareMeters(
  1. double area
)

Converts a square meter value to this UOM.

Parameters:

  • area — The value to convert.

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

Implementation

double fromSquareMeters(
  double area,
) {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_AreaUnit_fromSquareMeters(
      _handle,
      area,
      errorHandler,
    );
  });
}