Area.fromSquareMegameters constructor

Area.fromSquareMegameters(
  1. Rational squareMegameters
)

Creates an Area representing the specified number of squareMegameters.

Implementation

factory Area.fromSquareMegameters(Rational squareMegameters) =>
    Area.fromUnits(AreaUnit.squareMegameter, squareMegameters);