WritableStream<W> constructor

WritableStream<W>([
  1. UnderlyingSink<W>? underlyingSink,
  2. QueuingStrategy<W>? strategy
])

Implementation

factory WritableStream([
  _i3.UnderlyingSink<W>? underlyingSink,
  _i3.QueuingStrategy<W>? strategy,
]) =>
    _i4.callConstructor(
      _declaredWritableStream,
      [
        underlyingSink ?? _i6.undefined,
        strategy ?? _i6.undefined,
      ],
    );