instance property

WebviewPlusPlatform get instance

The default instance of WebviewPlusPlatform to use.

Defaults to MethodChannelWebviewPlus.

Implementation

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

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

Implementation

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