fetchDataRecords method

Future<List<WebsiteDataRecord>> fetchDataRecords({
  1. 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:

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);