ExecutionStepBuilder<T> constructor

ExecutionStepBuilder<T>(
  1. RootState<T> root,
  2. History<T> priorHistory, [
  3. Iterable<State<T>> priorStates = const []
])

Implementation

ExecutionStepBuilder(this.root, History<T> priorHistory,
    [Iterable<State<T>> priorStates = const []]) {
  activeStates = StateSet(root)
    ..addAll(priorStates)
    ..unmodifiable;
  history = priorHistory.toBuilder();
  _statesToEnter = StateSet(root);
  _statesForDefaultEntry = StateSet(root);
  _statesToExit = StateSet(root);
}