isOn property

bool isOn

Whether or not this light is on.

Implementation

bool get isOn => on.isOn;