LightColor constructor

LightColor({
  1. required LightColorXy xy,
  2. required LightColorGamut gamut,
  3. required LightColorGamutType gamutType,
})

Creates a LightColor object.

Implementation

LightColor({
  required this.xy,
  required this.gamut,
  required this.gamutType,
}) : _originalXy = xy.copyWith();