asText

fun asText(): String

Casts this HarnessSystemContentBlock as a Text and retrieves its kotlin.String value. Throws an exception if the HarnessSystemContentBlock is not a Text.