While constructor
While(
- String condition, {
- List<
IExpression> ? statements,
Example
While('i < 5',statements: [ RawCode('print(i);'), Assign('i', 'i + 1')])
Output
: while (i < 5) { print(i); i = i + 1; }
Implementation
While(this.condition, {this.statements});