getDownloadedBytes static method

Future<int> getDownloadedBytes(
  1. String url
)

Get downloaded bytes for URL.

Implementation

static Future<int> getDownloadedBytes(String url) async {
  await _ensureLoaded();
  return _cache[url]?.downloadedBytes ?? 0;
}