toHSL method Null safety

List<num?> toHSL()

get HSL

Implementation

List<num?> toHSL() {
  return [_hue, _sat, _lightness];
}