fetchDataRecords method
- required Set<
WebsiteDataType> dataTypes,
Fetches data records containing the given website data types.
dataTypes represents the website data types to fetch records for.
Officially Supported Platforms/Implementations:
- iOS WKWebView 9.0+ (Official API - WKWebsiteDataStore.fetchDataRecords)
- Linux WPE WebKit (Official API - webkit_website_data_manager_fetch)
- macOS WKWebView (Official API - WKWebsiteDataStore.fetchDataRecords)
Parameters - Officially Supported Platforms/Implementations:
dataTypes: all platforms
Use the PlatformWebStorageManager.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<List<WebsiteDataRecord>> fetchDataRecords({
required Set<WebsiteDataType> dataTypes,
}) => platform.fetchDataRecords(dataTypes: dataTypes);