UnderlyingByteSource constructor

UnderlyingByteSource({
  1. num? autoAllocateChunkSize,
  2. ReadableStreamErrorCallback? cancel,
  3. ReadableByteStreamControllerCallback? pull,
  4. ReadableByteStreamControllerCallback? start,
  5. 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,
    );