getMetadata

inline fun <T> getMetadata(key: String): T?

Get the metadata associated with a key.

Return

the metadata

Parameters

T

type to cast the metadata to

key

the key to get the metadata