remove method

StateMachine remove(
  1. String id
)

Removes a state via its ID from the state machine.

Implementation

StateMachine remove(String id ) {
	states.remove( id );
	return this;
}