instance property

The default instance of D1TerminalPluginPlatform to use.

Defaults to MethodChannelD1TerminalPlugin.

Implementation

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

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

Implementation

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