Scope provided to the metadata dsl builder.

Summary

Public constructors

Cmn

Public functions

Unit
<K : NavMetadataKey<T>, T : Any> put(key: K, value: T)

Adds the key and value pair to the map of metadata.

Cmn

Public constructors

MetadataScope

MetadataScope()

Public functions

put

fun <K : NavMetadataKey<T>, T : Any> put(key: K, value: T): Unit

Adds the key and value pair to the map of metadata.

T the value type. K the key for a value of type T.

Parameters
key: K

the key associated with the value

value: T

the data to be added to the map of metadata