AndroidDev, Jetpack Compose.
searchParameters = backStackEntry.toRoute<Search>().parameters } Note: this is supposed to be a speed bump: think long and hard whether an immutable, snapshot-in-time argument is really the source of truth for this data, or if this should really be an object you retrieve from a reactive source,