Command.bgSetScene constructor

Command.bgSetScene({
  1. int? id,
  2. required String cls,
  3. required int val1,
  4. required int val2,
  5. String? val3,
})

Command to set the background light directly to specified state.

see Command.setScene

Implementation

Command.bgSetScene({
  this.id,
  required String cls,
  required int val1,
  required int val2,
  String? val3,
})  : method = CommandMethods.bgSetScene,
      parameters = <dynamic>[cls, val1, val2, if (val3 != null) val3];