take method Null safety
- int n
Returns a lazy iterable of the
count first elements of this iterable.
Iterable may contain fewer than
count elements, if
contains fewer than
The elements can be computed by stepping through iterator until
elements have been seen.
count must not be negative.
@override Iterable<E> take(int n) => _base.take(n);