sanitized property

String get sanitized

Implementation

String get sanitized {
  if (this.hasFragment) {
    // use the fragment as the url
    return this.fragment;
  }
  final norm = normalizePath();
  return buildString((buff) {
    buff += normalizePath();
    if (norm.hasQuery) {
      buff += "?${norm.query}";
    }
  });
}