getType abstract method

  1. @Deprecated('Use getClass() instead')
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

@Deprecated('Use getClass() instead')
ClassElement? getType(String name);