removeDataModifiedSince method

Future<void> removeDataModifiedSince({
  1. required Set<WebsiteDataType> dataTypes,
  2. required DateTime date,
})

Removes all website data of the given types that has been modified since the given date.

dataTypes represents the website data types that should be removed.

date represents a date. All website data modified after this date will be removed.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • dataTypes: all platforms
  • date: all platforms

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

Implementation

Future<void> removeDataModifiedSince({
  required Set<WebsiteDataType> dataTypes,
  required DateTime date,
}) => platform.removeDataModifiedSince(dataTypes: dataTypes, date: date);