IterableIterator<T> constructor
IterableIterator<T> ({
- IteratorResult next([])?,
- IteratorResult return$([
- dynamic
- IteratorResult throw$([
- dynamic
Implementation
factory IterableIterator({
_i5.IteratorResult<_i2.dynamic, _i2.dynamic> Function(
[_i2.Iterable<_i2.dynamic>?])?
next,
_i5.IteratorResult<_i2.dynamic, _i2.dynamic> Function([_i2.dynamic])?
return$,
_i5.IteratorResult<_i2.dynamic, _i2.dynamic> Function([_i2.dynamic])?
throw$,
}) =>
IterableIterator._(
next: next == null
? null
: _i3.allowInterop(([
a0,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9,
]) =>
next([
a0,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9,
])),
return$: return$ == null ? null : _i3.allowInterop(return$),
throw$: throw$ == null ? null : _i3.allowInterop(throw$),
);