instance property

The default instance of FlutterBeepPlusPlatform to use.

Defaults to MethodChannelFlutterBeepPlus.

Implementation

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

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

Implementation

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