Volume.fromCubicFeet constructor

Volume.fromCubicFeet(
  1. Rational cubicFeet
)

Creates a Volume representing the specified number of cubicFeet.

Implementation

factory Volume.fromCubicFeet(Rational cubicFeet) =>
    Volume.fromUnits(VolumeUnit.cubicFoot, cubicFeet);