hue property Null safety

num hue

This color's hue, between 0 and 360.

Implementation

num get hue {
  if (_hue == null) _rgbToHsl();
  return _hue!;
}