pull property

FutureOr<void> Function(ReadableStreamDefaultController<R>)? get pull

Implementation

_i7.FutureOr<void> Function(_i3.ReadableStreamDefaultController<R>)?
    get pull => (_i3.ReadableStreamDefaultController<R> p0) => _i4.callMethod(
          _i4.getProperty(
            this,
            'pull',
          ),
          r'call',
          [
            this,
            p0,
          ],
        );
set pull (FutureOr<void> value(ReadableStreamDefaultController<R>)?)

Implementation

set pull(
    _i7.FutureOr<void> Function(_i3.ReadableStreamDefaultController<R>)?
        value) {
  _i4.setProperty(
    this,
    'pull',
    value == null
        ? _i6.undefined
        : _i4.allowInterop((p0) => _i6.Promise.futureOr(() => value(p0))),
  );
}