HashUrlStrategy constructor

const HashUrlStrategy([
  1. PlatformLocation _platformLocation = const BrowserPlatformLocation()
])

Creates an instance of HashUrlStrategy.

The PlatformLocation parameter is useful for testing to mock out browser interactions.

Implementation

const HashUrlStrategy(
    [this._platformLocation = const BrowserPlatformLocation()]);