ForEachPartsWithDeclarationImpl constructor
ForEachPartsWithDeclarationImpl({
- required DeclaredIdentifierImpl loopVariable,
- required Token inKeyword,
- required ExpressionImpl iterable,
Initialize a newly created for-each statement whose loop control variable is declared internally (inside the for-loop part).
Implementation
ForEachPartsWithDeclarationImpl({
required DeclaredIdentifierImpl loopVariable,
required super.inKeyword,
required super.iterable,
}) : _loopVariable = loopVariable {
_becomeParentOf(_loopVariable);
}