prefixWith method

UrlData prefixWith(
  1. UrlData url
)

Implementation

UrlData prefixWith(UrlData url) {
  return UrlData(
    segments: url.segments.followedBy(segments),
    queryParams: queryParams..addAll(url.queryParams),
    states: states..addAll(url.states),
  );
}