TTakes the first count elements from the Iter while f is true.
f
@override @pragma("vm:prefer-inline") Iter<T> takeWhile(bool Function(T) f) => Iter.fromIterable(super.takeWhile(f));