getStateFlow

fun <A> SavedStateHandle.getStateFlow(destination: DestinationId<A, *>, initial: A?): StateFlow<A?>

Returns the argument for the current destination as Flow.

Parameters

destination

The current destination.