HsbColor.from constructor

HsbColor.from(
  1. ColorModel color
)

Constructs a HsbColor from color.

Implementation

factory HsbColor.from(cm.ColorModel color) => color.toHsbColor().cast();