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