navigationSnapshot

abstract fun navigationSnapshot(): NavigationSnapshot?

Returns the current NavigationSnapshot. The return value is null when navigation is not yet started or already stopped.

Important: This is a Public Preview API. It may be changed or removed at any time.