UnderlyingSink<W> constructor

UnderlyingSink<W>({
  1. UnderlyingSinkAbortCallback? abort,
  2. UnderlyingSinkCloseCallback? close,
  3. UnderlyingSinkStartCallback? start,
  4. dynamic type,
  5. UnderlyingSinkWriteCallback? write,
})

Implementation

factory UnderlyingSink({
  _i3.UnderlyingSinkAbortCallback? abort,
  _i3.UnderlyingSinkCloseCallback? close,
  _i3.UnderlyingSinkStartCallback? start,
  _i2.dynamic type,
  _i3.UnderlyingSinkWriteCallback<_i2.dynamic>? write,
}) =>
    UnderlyingSink._(
      abort: abort ?? _i6.undefined,
      close: close ?? _i6.undefined,
      start: start ?? _i6.undefined,
      type: type,
      write: write ?? _i6.undefined,
    );