pull property

FutureOr<void> Function(ReadableByteStreamController)? get pull

Implementation

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

Implementation

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