instance property

JdkitPlatform get instance

The default instance of JdkitPlatform to use.

Defaults to MethodChannelJdkit.

Implementation

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

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

Implementation

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