then<P, S, D> method

RouteRefPath then<P, S, D>(
  1. RouteRef<P, S, D> child
)

Appends child to this branch.

Implementation

RouteRefPath then<P, S, D>(RouteRef<P, S, D> child) =>
    RouteRefPath._(<_RouteRefSegment>[..._refs, child]);