getBlobUrl method

Future<String?> getBlobUrl(
  1. String cacheName,
  2. String url
)

Get blob URL from cache

Implementation

Future<String?> getBlobUrl(String cacheName, String url) async {
  try {
    final result =
        await _cacheGetBlobUrlJS(cacheName.toJS, url.toJS).toDart;
    return result?.toDart;
  } catch (e) {
    debugPrint('[WebCacheInterop] ❌ getBlobUrl failed for $url: $e');
    return null;
  }
}