instance property

HotspotManagerPlatform get instance

The default instance of HotspotManagerPlatform to use.

Defaults to MethodChannelHotspotManager.

Implementation

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

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

Implementation

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