getType abstract method
Return the class defined in this compilation unit that has the given
name
, or null
if this compilation unit does not define a class with
the given name.
Implementation
@Deprecated('Use getClass() instead')
ClassElement? getType(String name);