content

abstract val content: String(source)

Represents the content of the result within the sealed interface Result.

This property is used to hold the content as a String, which could vary depending on whether the result is successful or a failure.

  • In the Success case, this corresponds to the provided content of the successful result.

  • In the Failure case, this corresponds to the failure message.