Dimension constructor
Implementation
Dimension(
this.value,
this.unit,
UnitType dimensionUnitType,
) : assert(
dimensionUnitType.matches(unit.unitType),
"This Dimension was given a Unit "
"that isn't specified.",
);