updateState method

void updateState(
  1. SurveyState newState
)

Implementation

void updateState(SurveyState newState) {
  _state = newState;
  surveyStateStream.add(_state);
}