getOrNull

fun <A> SavedStateHandle.getOrNull(destination: DestinationId<A?, *>): A?

Returns the argument for the current destination.

Parameters

destination

The current destination.