Spec<T>.allOf constructor
Creates a spec satisfied when every spec in specs is satisfied.
The iterable is consumed and copied when this factory is called, so later changes to the source do not affect this spec. Infinite iterables cannot be used, and iteration errors occur during construction. Evaluation short-circuits at the first unsatisfied spec. An empty iterable is satisfied.
Implementation
factory Spec.allOf(Iterable<Spec<T>> specs) =>
_AllOfSpec(List.unmodifiable(specs));