idToValue

abstract fun idToValue(id: Int): T?

Converts the given id to its corresponding value of type T or throws an IllegalArgumentException if id is not valid for this property.