toHSLAString method Null safety

String toHSLAString()

HSL string with alpha

Implementation

String toHSLAString() {
  return "hsla($_hue, ${(_sat! * 100).round()}%, ${(_lightness! * 100).round()}%, ${_color!.alpha})";
}