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