Dim constructor
Creates a new dimension with optional unit and important flag.
Prefer the important getter unless a constant is required.
Implementation
const Dim(this.value, {this.unit = '', bool important = false})
: isImportant = important;