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