convert method

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

Converts other to this color's color space.

Implementation

@override
RgbColor convert(cm.ColorModel other) => other.toRgbColor().cast();