toPlainTextString

fun Component.toPlainTextString(): @NotNull String

Converts the given Component into a plain text String with no formatting.