saveState method

Future<Uint8List?> saveState()

Returns the current state of interaction in a web view so that you can restore that state later to another web view using the restoreState method.

Officially Supported Platforms/Implementations:

Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.

Implementation

Future<Uint8List?> saveState() => platform.saveState();