Area.fromSquareCentimeters constructor

Area.fromSquareCentimeters(
  1. Rational squareCentimeters
)

Creates an Area representing the specified number of squareCentimeters.

Implementation

factory Area.fromSquareCentimeters(Rational squareCentimeters) =>
    Area.fromUnits(AreaUnit.squareCentimeter, squareCentimeters);