Volume.fromImperialQuarts constructor

Volume.fromImperialQuarts(
  1. Rational imperialQuarts
)

Creates a Volume representing the specified number of imperialQuarts.

Implementation

factory Volume.fromImperialQuarts(Rational imperialQuarts) =>
    Volume.fromUnits(VolumeUnit.imperialQuart, imperialQuarts);