state<C extends State> method

void state<C extends State>(
  1. BuildState<C> buildState
)

Adds a nested State definition as per the UML2 specification for hierarchically nested states.

Implementation

void state<C extends State>(
  BuildState<C> buildState,
) {
  addNestedState(_stateDefinition, buildState);
}