remove method
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,
));
}