rootMatch property

MatchedPath get rootMatch

Implementation

MatchedPath get rootMatch {
  assert(isAbsolute);

  return _rootMatch ??= MatchedPath._(
    full: this,
    current: _empty,
    matched: root,
    pattern: PathPattern._empty,
    remaining: asRelative,
    args: const {},
    queryParameters: queryParameters,
    extra: extra,
  );
}