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