volume library
Provides type-safe units for Volume.
Import this file to use Volume quantities and their extensions on num
(like 1.5.l
, 2.m3
, 8.fl_oz
).
Classes
Enums
- VolumeUnit
- Represents units of volume.
Extensions
- VolumeCreation on num
- Provides convenient factory methods for creating Volume instances from num using getter properties named after common unit symbols or names.
- VolumeValueGetters on Volume
- Provides convenient access to Volume values in specific units using getter properties.