isDownloadComplete method

  1. @override
Future<bool> isDownloadComplete(
  1. String taskId
)
override

Checks if a download task has completed successfully.

Parameters:

Returns true if the download is complete, false otherwise.

Implementation

@override
Future<bool> isDownloadComplete(String taskId) async {
  return _completedTasks[taskId] ?? false;
}