goBackUntil
fun goBackUntil(destKey: KClass<out T>, inclusive: Boolean = false): List<T>
Content copied to clipboard
Go back until the required destination is satisfied by destKey parameter (inclusive or not).
Return
List of removed keys else empty if nothing is removed.
Throws
if destKey doesn't exist in the backstack.