element property

  1. @Deprecated('Use element2 instead')
Element? get element

The element of name2 considering importPrefix for example a ClassElement2, or TypeAliasElement2, or null if name2 can't be resolved, or there's no element for the type name, such as for void.

Implementation

@Deprecated('Use element2 instead')
Element? get element;