Area.fromSquareMillimeters constructor

Area.fromSquareMillimeters(
  1. Rational squareMillimeters
)

Creates an Area representing the specified number of squareMillimeters.

Implementation

factory Area.fromSquareMillimeters(Rational squareMillimeters) =>
    Area.fromUnits(AreaUnit.squareMillimeter, squareMillimeters);