isAbstract property

bool isAbstract

A state is an abstract state if it has any child states You cannot use an abstract state as an transition target.

Implementation

bool get isAbstract =>
    childStateDefinitions.isNotEmpty || stateType == VirtualRoot;