Command.bgSetRGB constructor

Command.bgSetRGB({
  1. int? id,
  2. required int rgb,
  3. required String effect,
  4. required int duration,
})

Command to set color of the background light.

see Command.setRGB

Implementation

Command.bgSetRGB({
  this.id,
  required int rgb,
  required String effect,
  required int duration,
})  : method = CommandMethods.bgSetRGB,
      parameters = <dynamic>[rgb, effect, duration];