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