cancel abstract method

Future<void> cancel(
  1. String taskId
)

Cancels an active download

Does nothing if task doesn't exist or is already complete

Implementation

Future<void> cancel(String taskId);