HashHistory constructor

HashHistory({
  1. String? base,
  2. 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.base, super.window});