instance property

The default instance of MacosWebviewKitPlatform to use.

Defaults to MethodChannelMacosWebviewKit.

Implementation

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

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

Implementation

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