removeHistory method

Future<void> removeHistory(
  1. RemovalOptions options
)

Clears the browser's history. returns Called when the browser's history has cleared.

Implementation

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