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