convert method

  1. @override
HslColor convert(
  1. ColorModel other
)

Converts other to this color's color space.

Implementation

@override
HslColor convert(cm.ColorModel other) => other.toHslColor().cast();