downloadAndCacheVideo static method
Video-only convenience wrapper.
Implementation
static Future<String?> downloadAndCacheVideo(
String videoUrl, {
String? cacheSubdirectory,
String? fileNamePrefix,
}) {
return downloadAndCacheMedia(
videoUrl,
cacheSubdirectory: cacheSubdirectory ?? 'video_cache',
fileNamePrefix: fileNamePrefix ?? 'video',
);
}