getClass abstract method

ClassElement? getClass(
  1. 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.

Implementation

ClassElement? getClass(String name);