meta
Sets optional metadata for the content using a DSL builder.
Example:
userText {
text = "Hello"
meta {
put("source", JsonPrimitive("user-input"))
}
}Content copied to clipboard
Parameters
block
Lambda for building the metadata