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