density library

Exports the Density quantity, its units, and convenience extensions.

This library provides all necessary components to work with density conversions and calculations.

Classes

Density
Represents a quantity of density.
DensityFactors
Defines base conversion factors for various density units relative to the Kilogram per Cubic Meter (kg/m³), which is the SI derived unit for density.

Enums

DensityUnit
Represents units of density.

Extensions

DensityCreation on num
Provides convenient factory methods for creating Density instances from num.
DensityValueGetters on Density
Provides convenient access to Density values in specific units.