Command.bgAdjustColor constructor

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

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

see Command.adjustColor

Implementation

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