withChildren method
Returns a copy with children attached to the shared identity.
Implementation
ServerRoute<P, S, D> withChildren(Iterable<RouteNode> children) =>
ServerRoute<P, S, D>._(
definition: definition.withChildren(children),
load: load,
middleware: middleware,
handlers: handlers,
);