addUrl method

Future<void> addUrl(
  1. UrlDetails details
)

Adds a URL to the history at the current time with a transition type of "link".

Implementation

Future<void> addUrl(UrlDetails details) async {
  await promiseToFuture<void>($js.chrome.history.addUrl(details.toJS));
}