instance property

TestbotPlatform get instance

The default instance of TestbotPlatform to use.

Defaults to MethodChannelTestbot.

Implementation

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

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

Implementation

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