Is there some way to implement popToViewController(vc)
equivalent in SwiftUI? For example if I have the following flow:
View1 -> View2 -> View3 -> View4
How can I pop from View4 directly to View2 considering that we do not have control over the navigation stack ?