get
abstract operator fun <P : Any, C : Any> get(key: String, type: PersistentDataType<P, C>): C?(source)
Gets the value associated with the specified key.
This method uses the provided PersistentDataType to convert the value to the specified type.
Return
The value associated with the specified key, converted to the specified type, or null if the key does not exist in the container.
Parameters
key
The key associated with the value to be retrieved.
type
The PersistentDataType used to convert the value to the specified type.