getClass abstract method
Returns 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
ClassElement? getClass(String name);
Returns 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.
ClassElement? getClass(String name);