getCachedPath static method

Future<String?> getCachedPath(
  1. String url
)

Gets a cached file for a URL

Implementation

static Future<String?> getCachedPath(String url) async {
  final fileInfo = await instance.getFileFromCache(url);
  return fileInfo?.file.path;
}