Command.setDefault constructor

Command.setDefault({
  1. int? id,
})

Command to save current state of main light to persistent memory.

This command is accepted only if the device is in 'ON' state.

Implementation

Command.setDefault({this.id})
    : method = CommandMethods.setDefault,
      parameters = const <void>[];