restoreWebViewData method

Future<void> restoreWebViewData({
  1. required Uint8List data,
})

Restores WebView data previously returned by fetchWebViewData.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • data: all platforms

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

Implementation

Future<void> restoreWebViewData({required Uint8List data}) =>
    platform.restoreWebViewData(data: data);