getOnOffState property
bool
get
getOnOffState
Implementation
bool get getOnOffState =>
getPowerTrait()?.stateWhereType<IsOnOff>()?.value ?? false;
bool get getOnOffState =>
getPowerTrait()?.stateWhereType<IsOnOff>()?.value ?? false;