instance property

SimplebluePlatform get instance

The default instance of SimplebluePlatform to use.

Defaults to MethodChannelSimpleblue.

Implementation

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

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

Implementation

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