Command.bgSetPower constructor
Command.bgSetPower({})
Command to switch on or off the background light.
see Command.setPower
Implementation
Command.bgSetPower({
this.id,
required String power,
required String effect,
required int duration,
int? mode,
}) : method = CommandMethods.bgSetPower,
parameters = <dynamic>[power, effect, duration, if (mode != null) mode];