fromMap static method

_j fromMap(
  1. _5 r
)

Implementation

static _j fromMap(_5 r){_;_5 m=r.$nn;return _j(taskId: m.$c(_S[15])? _0.da(m[_S[15]], _7) as _7:throw __x(_S[26],_S[15]),source: m.$c(_S[11])? _1.a<_e>(m[_S[11]],(m)=>$ChunkSource.fromMap(m))!:throw __x(_S[26],_S[11]),recordLocation: m.$c(_S[16])? _1.a<_i>(m[_S[16]],(m)=>$RecordLocation.fromMap(m))!:throw __x(_S[26],_S[16]),maxChunkSize: m.$c(_S[17]) ?  _0.da(m[_S[17]], _9) as _9 : 500,maxPostOverlap: m.$c(_S[18]) ?  _0.da(m[_S[18]], _9) as _9 : 100,embedBatchSize: m.$c(_S[19]) ?  _0.da(m[_S[19]], _9) as _9 : 25,chunkBatchSize: m.$c(_S[20]) ?  _0.da(m[_S[20]], _9) as _9 : 100,distillationFactor: m.$c(_S[21]) ?  _0.da(m[_S[21]], _9) as _9? : null,lastChunk: m.$c(_S[22]) ?  _0.da(m[_S[22]], _9) as _9? : null,chunkingFinished: m.$c(_S[23]) ?  _0.da(m[_S[23]], _n) as _n : _V[0],destinationCollection: m.$c(_S[24])? _0.da(m[_S[24]], _7) as _7:throw __x(_S[26],_S[24]),bucket: m.$c(_S[7])? _0.da(m[_S[7]], _7) as _7:throw __x(_S[26],_S[7]),destinationMetadata: m.$c(_S[25]) ?  _1.fe((m[_S[25]] as Map).$e.$m((e)=>_v(e.key,e.value))) : _V[1],);}