Command.adjustColor constructor
Command to adjust the color within specified duration.
percentage
- percentage to be adjusted. Range is from -100 to 100.duration
- see Command.setColorTemperature
NOTE: The percentage parameter will be ignored and the color is internally defined and can’t specified.
Implementation
Command.adjustColor({
this.id,
required int percentage,
required int duration,
}) : method = CommandMethods.adjustColor,
parameters = <int>[percentage, duration];