Iterable<T> constructor

Iterable<T>({
  1. Iterator? iterator,
  2. num? count,
  3. dynamic first()?,
})

Implementation

factory Iterable({
  _i3.Iterator<_i2.dynamic>? iterator,
  _i2.num? count,
  _i2.dynamic Function()? first,
}) =>
    Iterable._(
      iterator: iterator ?? _i5.undefined,
      count: count,
      first: first == null
          ? null
          : _i4.allowInterop(() => () => first() ?? _i5.undefined),
    );