stringToValue

abstract fun stringToValue(string: String): T

Converts the given string to the corresponding value or throws an IllegalArgumentException if string is not valid for this property.