Instance Method
detachChild(_:)
Detaches a previously attached child router.
@MainActor func detachChild(_ child: any Routing) async
Parameters
- child
The router to detach.
Discussion
Deactivates the child’s Interactable and removes it from children. If the child was never attached the call is a no-op.