taskForId method
Return Task for the given taskId
, or null
if not found.
Only running tasks are guaranteed to be returned, but returning a task does not guarantee that the task is still running. To keep track of the status of tasks, use a TaskStatusCallback
Implementation
Future<Task?> taskForId(String taskId) => _downloader.taskForId(taskId);