instance property

BeaconsFlutterPlatform get instance

The default instance of BeaconsFlutterPlatform to use.

Defaults to MethodChannelBeaconsFlutter.

Implementation

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

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

Implementation

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