toSquareMeters method
- required double area,
Converts a value in this UOM to square meters.
Parameters:
area
— The value to convert.
Return Value: The value in square meters or NAN if the conversion fails.
Implementation
double toSquareMeters({
required double area,
}) {
return _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_AreaUnit_toSquareMeters(
_handle,
area,
errorHandler,
);
});
}