task method

UDownloadTask? task(
  1. String id
)

Implementation

UDownloadTask? task(String id) => _tasks.cast<UDownloadTask?>().firstWhere((UDownloadTask? t) => t!.id == id, orElse: () => null);