slice method

DartStream<T> slice(
  1. int start,
  2. int end
)

Implementation

DartStream<T> slice(int start,int end){
  assert (end >= start);
  return skip(start).limit(end-start);
}