onStart method

  1. @mustCallSuper
void onStart(
  1. BuildContext context
)

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

Implementation

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