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