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