copyStack method

RouteNode<RouteValue> copyStack()

Implementation

RouteNode copyStack() {
  return route.updateWithNext(
    value: value,
    next: next?.copyStack(),
  );
}