UnderlyingSink<W> constructor
UnderlyingSink<W> ({
- WritableStreamErrorCallback? abort,
- WritableStreamDefaultControllerCloseCallback? close,
- WritableStreamDefaultControllerStartCallback? start,
- dynamic type,
- WritableStreamDefaultControllerWriteCallback? write,
Implementation
factory UnderlyingSink({
_i3.WritableStreamErrorCallback? abort,
_i3.WritableStreamDefaultControllerCloseCallback? close,
_i3.WritableStreamDefaultControllerStartCallback? start,
_i2.dynamic type,
_i3.WritableStreamDefaultControllerWriteCallback<_i2.dynamic>? write,
}) =>
UnderlyingSink._(
abort: abort ?? _i6.undefined,
close: close ?? _i6.undefined,
start: start ?? _i6.undefined,
type: type,
write: write ?? _i6.undefined,
);