instance property

The default instance of FlutterNewBadgerPlatform to use.

Defaults to MethodChannelFlutterNewBadger.

Implementation

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

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

Implementation

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