target property

  1. @override
ExpressionImpl? get target
override

Return the expression used to compute the object being indexed, or null if this index expression is part of a cascade expression.

Use realTarget to get the target independent of whether this is part of a cascade expression.

Implementation

@override
ExpressionImpl? get target => _target;
set target (ExpressionImpl? expression)

Implementation

set target(ExpressionImpl? expression) {
  _target = _becomeParentOf(expression);
}