takeWhile method

FutureOr<Iterable<T>> takeWhile(
  1. Predicate<T> predicate
)

Implementation

FutureOr<Iterable<T>> takeWhile(Predicate<T> predicate) async {
  return (await this).takeWhile(predicate);
}