Volume.fromCubicKilometers constructor

Volume.fromCubicKilometers(
  1. Rational cubicKilometers
)

Creates a Volume representing the specified number of cubicKilometers.

Implementation

factory Volume.fromCubicKilometers(Rational cubicKilometers) =>
    Volume.fromUnits(VolumeUnit.cubicKilometer, cubicKilometers);