get

operator fun <T : Any> Map<String, Any>.get(key: NavMetadataKey<T>): T?

Returns the metadata value for a given NavMetadataKey.

T the value type.

Parameters

key

the key associated with the value