instance property

PlugBugPlatform get instance

The default instance of PlugBugPlatform to use.

Defaults to MethodChannelPlugBug.

Implementation

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

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

Implementation

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