Area.fromHectares constructor

Area.fromHectares(
  1. Rational hectares
)

Creates an Area representing the specified number of hectares.

Implementation

factory Area.fromHectares(Rational hectares) =>
    Area.fromUnits(AreaUnit.hectare, hectares);