toStream method

Stream<T> toStream()

Implementation

Stream<T> toStream() {
  return Stream.fromIterable(this);
}