removeDownloads method

Future<void> removeDownloads(
  1. RemovalOptions options
)

Clears the browser's list of downloaded files (not the downloaded files themselves). returns Resolves when the browser's list of downloaded files has been cleared.

Implementation

Future<void> removeDownloads(RemovalOptions options) async {
  await $js.chrome.browsingData.removeDownloads(options.toJS).toDart;
}