Command.bgSetBrightness constructor
Command.bgSetBrightness({})
Command to set brightness of the background light.
Implementation
Command.bgSetBrightness({
this.id,
required int brightness,
required String effect,
required int duration,
}) : method = CommandMethods.bgSetBright,
parameters = <dynamic>[brightness, effect, duration];