reset method
Resets the downloader by cancelling all ongoing tasks within
the provided group
Returns the number of tasks cancelled. Every canceled task wil emit a TaskStatus.canceled update to the registered callback, if requested
This method acts on a group
of tasks. If omitted, the defaultGroup
is used, which is the group used when you enqueue a task
Implementation
Future<int> reset({String group = defaultGroup}) => _downloader.reset(group);