deleteRange method

Future<void> deleteRange(
  1. DeleteRangeRange range
)

Removes all items within the specified date range from the history. Pages will not be removed from the history unless all visits fall within the range.

Implementation

Future<void> deleteRange(DeleteRangeRange range) async {
  await promiseToFuture<void>($js.chrome.history.deleteRange(range.toJS));
}