restoreWebViewData method
- required Uint8List data,
Restores WebView data previously returned by fetchWebViewData.
Officially Supported Platforms/Implementations:
- iOS WKWebView 26.0+ (Official API - WKWebView.restoreData(_:completionHandler:))
- macOS WKWebView 26.0+ (Official API - WKWebView.restoreData(_:completionHandler:))
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);