CmykColor.from constructor

CmykColor.from(
  1. ColorModel color
)

Constructs a CmykColor from color.

Implementation

factory CmykColor.from(cm.ColorModel color) => color.toCmykColor().cast();