instance property
VideoCachePlatform
get
instance
The default instance of VideoCachePlatform to use.
Defaults to MethodChannelVideoCache.
Implementation
static VideoCachePlatform get instance => _instance;
set
instance
(VideoCachePlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends VideoCachePlatform when they register themselves.
Implementation
static set instance(VideoCachePlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}