Weights constructor

const Weights({
  1. double lightness = 1,
  2. double chroma = 1,
  3. double hue = 1,
})

Implementation

const Weights({
  this.lightness = 1,
  this.chroma = 1,
  this.hue = 1,
})  : assert(lightness >= 0),
      assert(chroma >= 0),
      assert(hue >= 0);