isLeaf property
bool
isLeaf
A state is a leaf state if it has no child states.
Implementation
bool get isLeaf => childStateDefinitions.isEmpty;
A state is a leaf state if it has no child states.
bool get isLeaf => childStateDefinitions.isEmpty;