intersperse method
Creates a new iterator which places a separator between adjacent items of the original iterator. Similar to join with strings.
Implementation
@override
@pragma("vm:prefer-inline")
Iter<T> intersperse(T element) {
return Iter.fromIterable(_intersperseHelper(element));
}