XPathUrlStrategy constructor

XPathUrlStrategy([
  1. String? partOfURL,
  2. PlatformLocation platformLocation = const BrowserPlatformLocation()
])

Implementation

XPathUrlStrategy([
  this.partOfURL,
  this.platformLocation = const BrowserPlatformLocation(),
])  : _basePath = stripTrailingSlash(extractPathname(checkBaseHref(
        platformLocation.getBaseHref(),
      ))),
      super(platformLocation);