Cam16 constructor Null safety

const Cam16(
  1. double hue,
  2. double chroma,
  3. double j,
  4. double q,
  5. double m,
  6. double s,
  7. double jstar,
  8. double astar,
  9. double bstar
)

All of the CAM16 dimensions can be calculated from 3 of the dimensions, in the following combinations: - {j or q} and {c, m, or s} and hue - jstar, astar, bstar Prefer using a static method that constructs from 3 of those dimensions. This constructor is intended for those methods to use to return all possible dimensions.

Implementation

const Cam16(this.hue, this.chroma, this.j, this.q, this.m, this.s, this.jstar,
    this.astar, this.bstar);