readType property

DartType? readType

The type of the value read with the readElement.

If this node is not a compound assignment, this type is null.

In invalid code, e.g. int += 2, this type is dynamic.

This type is null if the AST structure has not been resolved.

If the target could not be resolved, this type is dynamic.

Implementation

DartType? get readType;