inspect method

  1. @override
Iter<T> inspect(
  1. void f(
    1. T
    )
)

Does something with each element of an iterator, passing the value on.

Implementation

@override
@pragma("vm:prefer-inline")
Iter<T> inspect(void Function(T) f) {
  return Iter.fromIterable(_inspectHelper(f));
}