requireRoute

inline fun <T : InternalActivityRoute> Activity.requireRoute(): T

Returns the ActivityRoute that was used to navigate to this Activity.