LightPowerUpColor constructor

LightPowerUpColor({
  1. required LightPowerUpColorMode mode,
  2. required LightPowerUpColorColorTemperature colorTemperature,
  3. required LightColorXy color,
})

Creates a LightPowerUpColor object.

Implementation

LightPowerUpColor({
  required this.mode,
  required this.colorTemperature,
  required this.color,
})  : _originalMode = mode,
      _originalColorTemperature = colorTemperature.copyWith(),
      _originalColor = color.copyWith();