HashUrlStrategy constructor Null safety

const HashUrlStrategy(
  1. [PlatformLocation? _]
)

Creates an instance of HashUrlStrategy.

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

Implementation

const HashUrlStrategy([PlatformLocation? _]);