extractIf method
Creates an Iter which uses a closure to determine if an element should be removed. If the closure returns true, then the element is removed and yielded. If the closure returns false, the element will remain in the vector and will not be yielded by the iterator.
Implementation
@pragma('vm:prefer-inline')
Iter<T> extractIf(bool Function(T) f) =>
Iter.fromIterable(ExtractIfIterable(this, f));