Command.adjustColorTemperature constructor

Command.adjustColorTemperature({
  1. int? id,
  2. required int percentage,
  3. required int duration,
})

Command to adjust the color temperature by specified percentage within specified duration.

Implementation

Command.adjustColorTemperature({
  this.id,
  required int percentage,
  required int duration,
})  : method = CommandMethods.adjustCT,
      parameters = <int>[percentage, duration];