target property

  1. @override
ExpressionImpl? target
override

Return the expression producing the object on which the method is defined, or null if there is no target (that is, the target is implicitly this) or if this method invocation 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;
void target=(ExpressionImpl? expression)

Implementation

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