takeWhile method

Future<Iterable<E>> takeWhile(
  1. bool test(
    1. E e
    )
)

Refer to Iterable.takeWhile;

Implementation

Future<Iterable<E>> takeWhile(bool test(E e)) async {
  return (await this).takeWhile(test);
}