Volume.fromCubicMegameters constructor

Volume.fromCubicMegameters(
  1. Rational cubicMegameters
)

Creates a Volume representing the specified number of cubicMegameters.

Implementation

factory Volume.fromCubicMegameters(Rational cubicMegameters) =>
    Volume.fromUnits(VolumeUnit.cubicMegameter, cubicMegameters);