isCascaded property

  1. @override
bool isCascaded
override

Return true if this expression is cascaded.

If it is, then the target of this expression is not stored locally but is stored in the nearest ancestor that is a CascadeExpression.

Implementation

@override
bool get isCascaded =>
    operator.type == TokenType.PERIOD_PERIOD ||
    operator.type == TokenType.QUESTION_PERIOD_PERIOD;