Scene.autoDelayOff constructor
Turn on the device to specified brightness
and start a timer
to
turn off the light after specified number of minutes.
Implementation
Scene.autoDelayOff({
required int brightness,
required Duration timer,
}) : this(
sceneClass: const SceneClass.autoDelayOff(),
val1: brightness,
val2: timer.inMinutes,
);