Enumerable<T>.from constructor
Creates an enumerable from an Iterable
.
Creates an enumerable that wraps around an Iterable
with existing values.
This is usually unnecessary to call, as calling the global function E
achieves the same thing more concisely.
Implementation
factory Enumerable.from(Iterable<T> iterable) {
return ValueEnumerable<T>(iterable);
}