BrowserHistory constructor

BrowserHistory({
  1. Window? window,
})

Creates a BrowserHistory that reads/writes path-based URLs.

If window is omitted, the default browser window is used.

Implementation

BrowserHistory({super.window});