isOn property

bool get isOn

Whether or not this light is on.

Implementation

bool get isOn => on.isOn;