Volume.fromLiters constructor
Volume.fromLiters(
- Rational liters
Creates a Volume representing the specified number of liters
.
Implementation
factory Volume.fromLiters(Rational liters) =>
Volume.fromUnits(VolumeUnit.liter, liters);