LightOn constructor

LightOn({
  1. required bool isOn,
})

Creates a LightOn object.

Implementation

LightOn({required this.isOn}) : _originalIsOn = isOn;