Volume.fromUsLiquidGallons constructor
Volume.fromUsLiquidGallons(
- Rational usLiquidGallons
Creates a Volume representing the specified number of usLiquidGallons
.
Implementation
factory Volume.fromUsLiquidGallons(Rational usLiquidGallons) =>
Volume.fromUnits(VolumeUnit.usLiquidGallon, usLiquidGallons);