onStart method
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;
}