Area.fromSquareMeters constructor

Area.fromSquareMeters(
  1. Rational squareMeters
)

Creates an Area representing the specified number of squareMeters.

Implementation

factory Area.fromSquareMeters(Rational squareMeters) =>
    Area.fromUnits(AreaUnit.squareMeter, squareMeters);