nullableParameterOf

fun <A> nullableParameterOf(destinationId: DestinationId<A?, *>): A?

Returns the parameter of the current destination, or null, if hasn't been set.