AttributeKey

data class AttributeKey<T : Any> @JvmOverloads constructor(val name: String, type: KType = typeOf<Any>())

Specifies a key for an attribute in Attributes

Parameters

T

is a type of the value stored in the attribute

Constructors

Link copied to clipboard
constructor(name: String, type: KType = typeOf<Any>())

Properties

Link copied to clipboard

is a name of the attribute for diagnostic purposes. Can't be blank

Functions

Link copied to clipboard
open override fun toString(): String