takeWhile method
Returns an iterable that takes elements while test returns true.
This is a non-mutating operation that returns an iterable.
Implementation
@override
Iterable<E> takeWhile(bool Function(E element) test) => value.takeWhile(test);
Returns an iterable that takes elements while test returns true.
This is a non-mutating operation that returns an iterable.
@override
Iterable<E> takeWhile(bool Function(E element) test) => value.takeWhile(test);