ForEachPartsImpl constructor

ForEachPartsImpl({
  1. required Token inKeyword,
  2. required ExpressionImpl iterable,
})

Initialize a newly created for-each statement whose loop control variable is declared internally (in the for-loop part). The awaitKeyword can be null if this is not an asynchronous for loop.

Implementation

ForEachPartsImpl({
  required this.inKeyword,
  required ExpressionImpl iterable,
}) : _iterable = iterable {
  _becomeParentOf(_iterable);
}