Get parent route
RouteNode<Object?>? get parent => _parent;
Attaches this node to a parent.
parent
Called internally by SafeNestedRoute when registering child routes.
SafeNestedRoute
@protected set parent(RouteNode<Object?>? parent) { if (_parent != null) throw Exception(); _parent = parent; }