Command.bgAdjustColorTemperature constructor

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

Command to adjust the color temperature by specified percentage within specified duration (background light).

see Command.adjustColorTemperature

Implementation

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