Command.cronAdd constructor
Command to start a timer job on the device.
type
- currently can by only 0 (means power off)value
is the length of the timer in minutes.
This command is accepted only if the device is in 'ON' state.
Implementation
Command.cronAdd({this.id, int type = 0, required int value})
: method = CommandMethods.cronAdd,
parameters = <int>[type, value];