pipeTo property

Future<void> Function(WritableStream<R>, [StreamPipeOptions?]) get pipeTo

Implementation

_i2.Future<void> Function(
  _i3.WritableStream<R>, [
  _i3.StreamPipeOptions?,
]) get pipeTo => (
      _i3.WritableStream<R> p0, [
      _i3.StreamPipeOptions? p1,
    ]) =>
        _i4.promiseToFuture(_i4.callMethod(
          _i4.getProperty(
            this,
            'pipeTo',
          ),
          r'call',
          [
            this,
            p0,
            p1 ?? _i6.undefined,
          ],
        ));
set pipeTo (Future<void> value(WritableStream<R>, [StreamPipeOptions?]))

Implementation

set pipeTo(
    _i2.Future<void> Function(
      _i3.WritableStream<R>, [
      _i3.StreamPipeOptions?,
    ]) value) {
  _i4.setProperty(
    this,
    'pipeTo',
    _i4.allowInterop(value),
  );
}