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