applyTransitions method
Populates statesToEnter, statesToExit, statesForDefaultEntry, and historyStatesForDefaltEntry
.
You can only call this once per builder instance.
Implementation
void applyTransitions(Iterable<Transition<T>> selectedTransitions) {
transitions = removeConflictingTransitions(selectedTransitions);
computeEntrySet(transitions);
computeExitSet(transitions);
}