instance property

BluxFlutterPlatform get instance

The default instance of BluxFlutterPlatform to use.

Defaults to MethodChannelBluxFlutter.

Implementation

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

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

Implementation

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