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