fromMap static method
_h
fromMap(
- _5 r
Implementation
static _h fromMap(_5 r){_;_5 m=r.$nn;return _h(taskId: m.$c(_S[9])? _0.da(m[_S[9]], _7) as _7:throw __x(_S[20],_S[9]),source: m.$c(_S[8])? _1.a<_d>(m[_S[8]],(m)=>$ChunkSource.fromMap(m))!:throw __x(_S[20],_S[8]),maxChunkSize: m.$c(_S[10]) ? _0.da(m[_S[10]], _9) as _9 : 500,maxPostOverlap: m.$c(_S[11]) ? _0.da(m[_S[11]], _9) as _9 : 100,embedBatchSize: m.$c(_S[12]) ? _0.da(m[_S[12]], _9) as _9 : 25,chunkBatchSize: m.$c(_S[13]) ? _0.da(m[_S[13]], _9) as _9 : 100,distillationFactor: m.$c(_S[14]) ? _0.da(m[_S[14]], _9) as _9? : null,lastChunk: m.$c(_S[15]) ? _0.da(m[_S[15]], _9) as _9? : null,chunkingFinished: m.$c(_S[16]) ? _0.da(m[_S[16]], _m) as _m : _V[0],destinationCollection: m.$c(_S[17])? _0.da(m[_S[17]], _7) as _7:throw __x(_S[20],_S[17]),record: m.$c(_S[18])? _0.da(m[_S[18]], _7) as _7:throw __x(_S[20],_S[18]),bucket: m.$c(_S[4])? _0.da(m[_S[4]], _7) as _7:throw __x(_S[20],_S[4]),destinationMetadata: m.$c(_S[19]) ? _1.fe((m[_S[19]] as Map).$e.$m((e)=>_r(e.key,e.value))) : _V[1],);}