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