removeCookies method

Future<void> removeCookies(
  1. RemovalOptions options
)

Clears the browser's cookies and server-bound certificates modified within a particular timeframe. returns Called when the browser's cookies and server-bound certificates have been cleared.

Implementation

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