getType abstract method

ClassElement? getType(
  1. String name
)

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

ClassElement? getType(String name);