Command.bgSetRGB constructor
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];