HashUrlStrategy constructor Null safety
- [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()]);