abstract fun fromString(string: String): TextResource
Creates a text resource backed by the given string.
string - a string
string
Return a text resource backed by the given string