instance property

VorldBlePlatform get instance

The default instance of VorldBlePlatform to use.

Defaults to MethodChannelVorldBle.

Implementation

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

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

Implementation

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