fromMap static method
_v
fromMap(
- _5 r
Implementation
static _v fromMap(_5 r){_;_5 m=r.$nn;return _v(tools: m.$c(_S[1])? _0.da(m[_S[1]], _19) as _19:throw __x(_S[65],_S[1]),ultraCompatibleMode: m.$c(_S[55])? _0.da(m[_S[55]], _19) as _19:throw __x(_S[65],_S[55]),systemMode: m.$c(_S[56])?_1.e(ChatModelSystemMode.values, m[_S[56]]) as ChatModelSystemMode:throw __x(_S[65],_S[56]),contextWindow: m.$c(_S[57])? _0.da(m[_S[57]], _9) as _9:throw __x(_S[65],_S[57]),maxTokenOutput: m.$c(_S[58])? _0.da(m[_S[58]], _9) as _9:throw __x(_S[65],_S[58]),inputModalities: m.$c(_S[59])? (m[_S[59]] as _16).$m((e)=>_1.e(Modality.values, e) as Modality).$l:throw __x(_S[65],_S[59]),outputModalities: m.$c(_S[60])? (m[_S[60]] as _16).$m((e)=>_1.e(Modality.values, e) as Modality).$l:throw __x(_S[65],_S[60]),reasoning: m.$c(_S[61])? _0.da(m[_S[61]], _19) as _19:throw __x(_S[65],_S[61]),structuredOutput: m.$c(_S[62])? _0.da(m[_S[62]], _19) as _19:throw __x(_S[65],_S[62]),streaming: m.$c(_S[63])? _0.da(m[_S[63]], _19) as _19:throw __x(_S[65],_S[63]),seesToolMessages: m.$c(_S[64])? _0.da(m[_S[64]], _19) as _19:throw __x(_S[65],_S[64]),);}