instance property

PluginTestPlatform get instance

The default instance of PluginTestPlatform to use.

Defaults to MethodChannelPluginTest.

Implementation

static PluginTestPlatform get instance => _instance;
set instance (PluginTestPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends PluginTestPlatform when they register themselves.

Implementation

static set instance(PluginTestPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}