onStart method

  1. @mustCallSuper
void onStart()

Callback from the app when this task is to be started.

Implementation

@mustCallSuper
void onStart() {
  // initialize the background task which holds any measures added to the app task
  executor.initialize(task.backgroundTask, _executor.deployment);
  state = UserTaskState.started;
}