mutableAttributesOf
Return a new set of mutable attributes using AttributesBuilder.
Example
val attr1 = AttributeKey<String>("attribute 1")
val attr1 = AttributeKey<Int>("attribute 2")
val attrs = mutableAttributesOf {
attr1 to "value 1"
attr2 to 57
}
Content copied to clipboard