agrosner
11/22/2024, 3:50 PM// this restricted public is needed so that the public reified [popUpTo] can call
// private popUpToRouteClass setter
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
public fun <T : Any> popUpTo(klass: KClass<T>, popUpToBuilder: PopUpToBuilder.() -> Unit) {
we have wrapper apis that we’d like to pass kclass vs recreating the route instance when popping current screen off the navigation stack. is there a better approach?