getData

open fun <M> getData(key: DataKey<M>): M(source)

Gets data for this node using the given key.

Return

The data.

Parameters

<M>

The type of the data.

key

The key for the data

See also

Throws

if the key was not set in this node.