insert method
Returns true if this FSM is in the given state.
Implementation
bool insert( id ) {
final state = get( id );
return ( state == currentState );
}
Returns true if this FSM is in the given state.
bool insert( id ) {
final state = get( id );
return ( state == currentState );
}