instance property

The default instance of HotKeyManagerPlatform to use.

Defaults to MethodChannelHotKeyManager.

Implementation

static HotKeyManagerPlatform get instance => _instance;
void instance=(HotKeyManagerPlatform instance)

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

Implementation

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