ValidationResult

data class ValidationResult(valid: Boolean = true, errorText: String? = null)

Result of the validation success or failure of the validation. At failure, an error text can be displayed.

Constructors

Link copied to clipboard
fun ValidationResult(valid: Boolean = true, errorText: String? = null)