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