remove method

Future<void> remove(
  1. RemovalOptions options,
  2. DataTypeSet dataToRemove
)

Clears various types of browsing data stored in a user's profile. dataToRemove The set of data types to remove. returns Called when deletion has completed.

Implementation

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