instance property

BgBleScannerPlatform get instance

The default instance of BgBleScannerPlatform to use.

Defaults to MethodChannelBgBleScanner.

Implementation

static BgBleScannerPlatform get instance => _instance;
set instance (BgBleScannerPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends BgBleScannerPlatform when they register themselves.

Implementation

static set instance(BgBleScannerPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}