TextContent

data class TextContent(val text: String, val formattedText: String? = null)

Contains a text and eventually a formatted text.

Constructors

Link copied to clipboard
fun TextContent(text: String, formattedText: String? = null)

Functions

Link copied to clipboard
fun takeFormatted(): String

Properties

Link copied to clipboard
val formattedText: String? = null
Link copied to clipboard
val text: String