instance property
FlutterSafeJsPlatformInterface
instance
The default instance of FlutterSafeJsPlatformInterface to use.
Defaults to MethodChannelUrlLauncher
.
Implementation
static FlutterSafeJsPlatformInterface get instance => _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;
}