currentBehaviorId property
dynamic
get
currentBehaviorId
The id of the current behavior (or its index when no id is set),
useful to inspect/debug which behavior is active.
Implementation
dynamic get currentBehaviorId {
if (_behaviors.isEmpty) {
return null;
}
return _behaviors[_indexCurrent].id ?? _indexCurrent;
}