toJSIterable property
A JSIterable wrapper that proxies to the Dart iterable API.
Implementation
JSIterable<T> get toJSIterable {
final object = JSObject();
object.setProperty(
JSSymbol.iterator,
(() => this.iterator.toJSIterator).toJS,
);
return object as JSIterable<T>;
}