cancelTaskWithId method

Future<bool> cancelTaskWithId(
  1. String taskId
)

Cancel this task

The task will emit a TaskStatus.canceled update to the registered callback, if requested

Implementation

Future<bool> cancelTaskWithId(String taskId) => cancelTasksWithIds([taskId]);