Condition.or constructor

Condition.or(
  1. List conds
)

accepts a list of dynamic condition types, but just one has to be true to trigger

Implementation

Condition.or(List<dynamic> conds) {
  _type = _ConditionType.or;
  for (var cond in conds) {
    if (cond is Condition) {
      _children.add(cond);
    } else {
      _children.add(Condition(cond));
    }
  }
}