Volume.fromCubicYards constructor
Volume.fromCubicYards(
- Rational cubicYards
Creates a Volume representing the specified number of cubicYards
.
Implementation
factory Volume.fromCubicYards(Rational cubicYards) =>
Volume.fromUnits(VolumeUnit.cubicYard, cubicYards);