onExpired method

  1. @mustCallSuper
void onExpired()
inherited

Callback from the app if this task expires.

The task is removed from the queue.

Implementation

@mustCallSuper
void onExpired() {
  state = UserTaskState.expired;
  AppTaskController().dequeue(id);
  // _removeExecutor();
}