UnderlyingByteSource constructor
UnderlyingByteSource({
- num? autoAllocateChunkSize,
- ReadableStreamErrorCallback? cancel,
- ReadableByteStreamControllerCallback? pull,
- ReadableByteStreamControllerCallback? start,
- String? type,
Implementation
factory UnderlyingByteSource({
_i2.num? autoAllocateChunkSize,
_i3.ReadableStreamErrorCallback? cancel,
_i3.ReadableByteStreamControllerCallback? pull,
_i3.ReadableByteStreamControllerCallback? start,
_i2.String? type,
}) =>
UnderlyingByteSource._(
autoAllocateChunkSize: autoAllocateChunkSize,
cancel: cancel ?? _i6.undefined,
pull: pull ?? _i6.undefined,
start: start ?? _i6.undefined,
type: type,
);