enclosingElement2 property

  1. @Deprecated('Use enclosingElement instead')
  2. @override
InstanceElement get enclosingElement2
override

The element that either physically or logically encloses this element.

Returns null if this element is a library because libraries are the top-level elements in the model.

Implementation

@Deprecated('Use enclosingElement instead')
@override
InstanceElement get enclosingElement2;