fromUcs method Null safety

Cam16 fromUcs(
  1. double jstar,
  2. double astar,
  3. double bstar
)

Create a CAM16 color from CAM16-UCS coordinates jstar, astar, bstar. assuming the color was viewed in default viewing conditions.

Implementation

static Cam16 fromUcs(double jstar, double astar, double bstar) {
  return fromUcsInViewingConditions(
      jstar, astar, bstar, ViewingConditions.standard);
}