dropWhile abstract method

IntStream dropWhile(
  1. bool predicate(
    1. int
    )
)

Drops elements from the stream while the predicate returns true, then returns the remaining elements.

Example

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

Implementation

IntStream dropWhile(bool Function(int) predicate);