For constructor

For(
  1. String init,
  2. String condition,
  3. String action, {
  4. List<IExpression>? statements,
})

Example

For('i = 0', 'i < 5', 'i++', statements: [RawCode('print(i);')])

Output: for (var i = 0; i < 5; i++) { print(i); }

Implementation

For(this.init, this.condition, this.action, {this.statements});