getProgress method

  1. @override
Future<int> getProgress(
  1. String url
)
override

Retrieve the progress of the download from a specific url if null then returns 0.

Implementation

@override
Future<int> getProgress(String url) async {
  return _inner[url] ?? 0;
}