instance property
HotspotConnectionPlatform
get
instance
The default instance of HotspotConnectionPlatform to use.
Defaults to MethodChannelHotspotConnection.
Implementation
static HotspotConnectionPlatform get instance => _instance;
set
instance
(HotspotConnectionPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends HotspotConnectionPlatform when they register themselves.
Implementation
static set instance(HotspotConnectionPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}