Volume.fromCubicInches constructor

Volume.fromCubicInches(
  1. Rational cubicInches
)

Creates a Volume representing the specified number of cubicInches.

Implementation

factory Volume.fromCubicInches(Rational cubicInches) =>
    Volume.fromUnits(VolumeUnit.cubicInch, cubicInches);