If method

Execute If(
  1. Condition c
)

Implementation

Execute If(Condition c) {
  var prefixes = Condition.getPrefixes(c.getList());
  var args = this.args;
  _args = [];
  for (var p in prefixes) {
    var add = <List<String>>[];
    for (var e in args) {
      add.add(List<String>.from(e));
    }
    for (var e in add) {
      e.add(p);
    }
    _args.addAll(add);
  }
  return this;
}