getProperty

getProperty(propName: String): Property;

The getProperty method of the Type class returns a reference to the property specified in the propName parameter.

Use the findProperty method if you want to find the property in the type of the receiver or any of its supertypes.