cancelAll method
Cancels all active downloads.
Implementation
void cancelAll() {
for (final sub in List.of(_active)) {
unawaited(sub.cancel());
}
_active.clear();
}
Cancels all active downloads.
void cancelAll() {
for (final sub in List.of(_active)) {
unawaited(sub.cancel());
}
_active.clear();
}