clearCache method

Future<void> clearCache()

Clear all cached data. Video player controller must be initialized to clear the cache.

Implementation

Future<void> clearCache() async {
  return VideoPlayerController.clearCache();
}