target property Null safety

Expression? target

Return 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;
void target=(Expression? expression)
@Deprecated('Clients should not build AST manually')

Set the expression computing the object defining the property being accessed to the given expression.

Implementation

@Deprecated('Clients should not build AST manually')
set target(Expression? expression);