fetchWebViewData method

Future<Uint8List?> fetchWebViewData({
  1. required Set<WebViewDataType> dataTypes,
})

Fetches a serialized blob of WebView data such as session storage.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • dataTypes: all platforms

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

Implementation

Future<Uint8List?> fetchWebViewData({
  required Set<WebViewDataType> dataTypes,
}) => platform.fetchWebViewData(dataTypes: dataTypes);