poppingUpTo

fun poppingUpTo(destination: String, inclusive: Boolean): NavigateEventSchema.PopUpTo

Pops back-stack entries up to destination before the new one is pushed, feeding a Navigate event's popUpTo.

Parameters

destination

Screen id to pop back to.

inclusive

Whether destination itself is also popped.