OklabColor.from constructor
OklabColor.from(
- ColorModel color
Constructs an OklabColor from color
.
Implementation
factory OklabColor.from(cm.ColorModel color) => color.toOklabColor().cast();
Constructs an OklabColor from color
.
factory OklabColor.from(cm.ColorModel color) => color.toOklabColor().cast();