copy method

  1. @override
WebChromeClient copy()
inherited

Instantiates and returns a functionally identical object to oneself.

Outside of tests, this method should only ever be called by InstanceManager.

Subclasses should always override their parent's implementation of this method.

Implementation

@override
WebChromeClient copy() {
  return WebChromeClient.detached(onProgressChanged: onProgressChanged);
}