LightColorXy constructor
Creates a LightColorXy object.
Implementation
LightColorXy({
required double x,
required double y,
}) : assert(Validators.isUnitInterval(x),
"`x` must be between 0 and 1 (inclusive)"),
assert(Validators.isUnitInterval(y),
"`y` must be between 0 and 1 (inclusive)"),
_x = x,
_originalX = x,
_y = y,
_originalY = y;