dropWhile abstract method

GenericStream<T> dropWhile(
  1. bool predicate(
    1. T
    )
)

Returns a stream consisting of the remaining elements of this stream after dropping the longest prefix of elements that match the given predicate.

Example

final from5 = GenericStream.range(1, 10)
    .dropWhile((n) => n < 5);

Implementation

GenericStream<T> dropWhile(bool Function(T) predicate);