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