copyWith method

_k copyWith({
  1. _7? taskId,
  2. _i? recordLocation,
  3. _9? lod,
  4. _9? deltaLod,
  5. _7? collection,
  6. _9? targetOutputSize,
  7. _9? deltaTargetOutputSize,
  8. _9? factor,
  9. _9? deltaFactor,
  10. _9? size,
  11. _9? deltaSize,
  12. _9? embedBatchSize,
  13. _9? deltaEmbedBatchSize,
  14. _7? bucket,
  15. _6? toEmbed,
  16. _n deleteToEmbed = _F,
  17. _6? appendToEmbed,
  18. _6? removeToEmbed,
  19. _9? lastChunk,
  20. _n deleteLastChunk = _F,
  21. _9? deltaLastChunk,
  22. _9? emitted,
  23. _n deleteEmitted = _F,
  24. _9? deltaEmitted,
})

Implementation

_k copyWith({_7? taskId,_i? recordLocation,_9? lod,_9? deltaLod,_7? collection,_9? targetOutputSize,_9? deltaTargetOutputSize,_9? factor,_9? deltaFactor,_9? size,_9? deltaSize,_9? embedBatchSize,_9? deltaEmbedBatchSize,_7? bucket,_6? toEmbed,_n deleteToEmbed=_F,_6? appendToEmbed,_6? removeToEmbed,_9? lastChunk,_n deleteLastChunk=_F,_9? deltaLastChunk,_9? emitted,_n deleteEmitted=_F,_9? deltaEmitted,})=>_k(taskId: taskId??_H.taskId,recordLocation: recordLocation??_H.recordLocation,lod: deltaLod!=null?(lod??_H.lod)+deltaLod:lod??_H.lod,collection: collection??_H.collection,targetOutputSize: deltaTargetOutputSize!=null?(targetOutputSize??_H.targetOutputSize)+deltaTargetOutputSize:targetOutputSize??_H.targetOutputSize,factor: deltaFactor!=null?(factor??_H.factor)+deltaFactor:factor??_H.factor,size: deltaSize!=null?(size??_H.size)+deltaSize:size??_H.size,embedBatchSize: deltaEmbedBatchSize!=null?(embedBatchSize??_H.embedBatchSize)+deltaEmbedBatchSize:embedBatchSize??_H.embedBatchSize,bucket: bucket??_H.bucket,toEmbed: (deleteToEmbed?null:(toEmbed??_H.toEmbed))?.$u(appendToEmbed,removeToEmbed),lastChunk: deltaLastChunk!=null?(lastChunk??_H.lastChunk??0)+deltaLastChunk:deleteLastChunk?null:(lastChunk??_H.lastChunk),emitted: deltaEmitted!=null?(emitted??_H.emitted??0)+deltaEmitted:deleteEmitted?null:(emitted??_H.emitted),);