cancelTask abstract method

Future<bool> cancelTask(
  1. String taskId
)

Cancels an ongoing transfer task.

Parameters:

Returns true if the task was successfully cancelled, false otherwise.

Implementation

Future<bool> cancelTask(String taskId);