Volume.fromUsLiquidPints constructor

Volume.fromUsLiquidPints(
  1. Rational usLiquidPints
)

Creates a Volume representing the specified number of usLiquidPints.

Implementation

factory Volume.fromUsLiquidPints(Rational usLiquidPints) =>
    Volume.fromUnits(VolumeUnit.usLiquidPint, usLiquidPints);