copyWith method
_i
copyWith({
- _7? taskId,
- _7? record,
- _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,
- _m deleteToEmbed = _F,
- _6? appendToEmbed,
- _6? removeToEmbed,
- _9? lastChunk,
- _m deleteLastChunk = _F,
- _9? deltaLastChunk,
- _9? emitted,
- _m deleteEmitted = _F,
- _9? deltaEmitted,
Implementation
_i copyWith({_7? taskId,_7? record,_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,_m deleteToEmbed=_F,_6? appendToEmbed,_6? removeToEmbed,_9? lastChunk,_m deleteLastChunk=_F,_9? deltaLastChunk,_9? emitted,_m deleteEmitted=_F,_9? deltaEmitted,})=>_i(taskId: taskId??_H.taskId,record: record??_H.record,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),);