isCached abstract method
Whether the video is cached.
url: The video URL to check.
headers: Optional HTTP headers to use for the request.
cacheSegments: Number of segments to cache.
Returns true if the video is cached, otherwise false.
Implementation
Future<bool> isCached(
  String url,
  Map<String, Object>? headers,
  int cacheSegments,
);