cancelTask abstract method
Cancels an ongoing transfer task.
Parameters:
taskId: The ID of the task to cancel, from either startDownload or startUpload
Returns true if the task was successfully cancelled, false otherwise.
Implementation
Future<bool> cancelTask(String taskId);