HashLocationStrategy constructor

HashLocationStrategy(
  1. PlatformLocation _platformLocation, [
  2. @Optional.new() @Inject.new(appBaseHref) String? baseHref
])

Implementation

HashLocationStrategy(
  this._platformLocation, [
  @Optional() @Inject(appBaseHref) String? baseHref,
]) : _baseHref = baseHref ?? '';