UnderlyingSource<R> constructor

Implementation

factory UnderlyingSource({
  _i3.ReadableStreamErrorCallback? cancel,
  _i3.ReadableStreamDefaultControllerCallback<_i2.dynamic>? pull,
  _i3.ReadableStreamDefaultControllerCallback<_i2.dynamic>? start,
  _i2.dynamic type,
}) =>
    UnderlyingSource._(
      cancel: cancel ?? _i6.undefined,
      pull: pull ?? _i6.undefined,
      start: start ?? _i6.undefined,
      type: type,
    );