For constructor
For(
- String init,
- String condition,
- String action, {
- 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});