target property

Expression? get target

The expression computing the object defining the property being accessed, or null if this property access is part of a cascade expression.

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

Implementation

Expression? get target;