instance property

WebviewCefPlatform get instance

The default instance of WebviewCefPlatform to use.

Defaults to MethodChannelWebviewCef.

Implementation

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

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

Implementation

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