onStart method
Callback from the app when this task is to be started.
Implementation
@override
void onStart(BuildContext context) {
// saving the build context for later use
_context = context;
super.onStart(context);
executor.group.add(_controller.stream);
executor.resume();
_onSurveyTriggered(SurveyPage(
task: rpAppTask.rpTask,
resultCallback: _onSurveySubmit,
onSurveyCancel: _onSurveyCancel,
));
}