Condition.and constructor

Condition.and(
  1. List conds
)

accepts a list of dynamic condition types, that all have to be true to trigger

Implementation

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