fromString

abstract fun fromString(string: String): TextResource(source)

Creates a text resource backed by the given string.

Return

a text resource backed by the given string

Parameters

string

a string