isOn property

bool get isOn

Implementation

bool get isOn => !isOff;