instance property

The default instance of FlutterSafeJsPlatformInterface to use.

Defaults to MethodChannelUrlLauncher.

Implementation

static FlutterSafeJsPlatformInterface get instance => _instance;
void instance=(FlutterSafeJsPlatformInterface instance)

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

Implementation

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