annotationType property

Element2? get annotationType

Implementation

Element2? get annotationType {
  switch (element2) {
    case final GetterElement element:
      return element.returnType.element3;
    case final ConstructorElement2 element:
      return element.returnType.element3;
  }
  return null;
}