pipeTo property

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

Implementation

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

Implementation

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