BrowserHistory constructor

BrowserHistory({
  1. String? base,
  2. Window? window,
})

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

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

Implementation

BrowserHistory({super.base, super.window});