HashHistory constructor

HashHistory({
  1. Window? window,
})

Creates a HashHistory that stores the route in location.hash.

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

Implementation

HashHistory({super.window});