SceneActionAction constructor
SceneActionAction({
- required LightOn on,
- required LightDimming dimming,
- required LightColorXy xy,
- required LightPowerUpColorColorTemperature colorTemperature,
- required LightGradient gradient,
- required String effect,
- int? durationMilliseconds,
Creates a SceneActionAction object.
Implementation
SceneActionAction({
required this.on,
required this.dimming,
required this.xy,
required this.colorTemperature,
required this.gradient,
required this.effect,
int? durationMilliseconds,
}) : _originalOn = on.copyWith(),
_originalDimming = dimming.copyWith(),
_originalXy = xy.copyWith(),
_originalColorTemperature = colorTemperature.copyWith(),
_originalGradient = gradient.copyWith(),
_originalEffect = effect,
_originalDurationMilliseconds = durationMilliseconds,
_durationMilliseconds = durationMilliseconds;