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