popRoot

fun Navigator.popRoot(result: PopResult? = null)(source)

Pop the Navigator as if this was the root Navigator.pop call.