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