Location constructor

Location(LocationStrategy locationStrategy)

Implementation

Location(this.locationStrategy)
    : _baseHref = _sanitizeBaseHref(locationStrategy) {
  locationStrategy.onPopState((ev) {
    _subject.add({'url': path(), 'pop': true, 'type': ev.type});
  });
}