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