hasCalculatedHsl property

bool get hasCalculatedHsl

Whether the hue, saturation, and lightness fields have already been computed for this value.

Note that these fields can always be safely computed after the fact; this just allows users such as the Sass embedded compiler to access whichever representation is readily available.

Implementation

bool get hasCalculatedHsl => _saturation != null;