Volume constructor

Volume(
  1. double volume,
  2. VolumeUnit unit
)

Implementation

Volume(double volume, VolumeUnit unit):
      value = VolumeValue.from(unit, volume);