fun fromString(input: String): T
Converts the given input to an object by using the 'valueOf' method. Notice that the method may receive a null value.
input - the input, can be null
IllegalArgumentException - if the instance of T cannot be created from the input.
Return
the instance of T