next property

Future<IteratorResult<T, TReturn>> Function([Iterable?]) get next

Implementation

_i2.Future<_i4.IteratorResult<T, TReturn>> Function(
    [_i2
        .Iterable<_i2.dynamic>?]) get next =>
    ([_i2.Iterable<_i2.dynamic>? p0]) => _i6.promiseToFuture(_i6.callMethod(
          _i6.getProperty(
            this,
            'next',
          ),
          r'call',
          [
            this,
            p0 ?? _i7.undefined,
          ],
        ));
set next (Future<IteratorResult<T, TReturn>> value([Iterable?]))

Implementation

set next(
    _i2.Future<_i4.IteratorResult<T, TReturn>> Function(
            [_i2.Iterable<_i2.dynamic>?])
        value) {
  _i6.setProperty(
    this,
    'next',
    _i6.allowInterop(([
      a0,
      a1,
      a2,
      a3,
      a4,
      a5,
      a6,
      a7,
      a8,
      a9,
    ]) =>
        value([
          a0,
          a1,
          a2,
          a3,
          a4,
          a5,
          a6,
          a7,
          a8,
          a9,
        ])),
  );
}