instance property

PilottestPlatform get instance

The default instance of PilottestPlatform to use.

Defaults to MethodChannelPilottest.

Implementation

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

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

Implementation

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