hasCalculatedRgb property

bool get hasCalculatedRgb

Whether the red, green, and blue 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 hasCalculatedRgb => _red != null;