isOn property

bool isOn

Implementation

bool get isOn => !isOff;