Command.adjustColorTemperature constructor
Command to adjust the color temperature by specified percentage within specified duration.
percentage
- percentage to be adjusted. Range is from -100 to 100.duration
- see Command.setColorTemperature
Implementation
Command.adjustColorTemperature({
this.id,
required int percentage,
required int duration,
}) : method = CommandMethods.adjustCT,
parameters = <int>[percentage, duration];