isOn property

bool? get isOn

Implementation

bool? get isOn => stateWhereType<IsOnOff>()?.value;