detach method

void detach()

Detaches the controller from the state.

Implementation

void detach() {
  _state = null;
}