UnderlyingSource<R> constructor
UnderlyingSource<R> ({
- num? autoAllocateChunkSize,
- UnderlyingSourceCancelCallback? cancel,
- UnderlyingSourcePullCallback? pull,
- UnderlyingSourceStartCallback? start,
- ReadableStreamType? type,
Implementation
factory UnderlyingSource({
_i2.num? autoAllocateChunkSize,
_i3.UnderlyingSourceCancelCallback? cancel,
_i3.UnderlyingSourcePullCallback<_i2.dynamic>? pull,
_i3.UnderlyingSourceStartCallback<_i2.dynamic>? start,
_i3.ReadableStreamType? type,
}) =>
UnderlyingSource._(
autoAllocateChunkSize: autoAllocateChunkSize,
cancel: cancel ?? _i6.undefined,
pull: pull ?? _i6.undefined,
start: start ?? _i6.undefined,
type: type,
);