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