fromMap static method

_o fromMap(
  1. _5 r
)

Implementation

static _o fromMap(_5 r){_;_5 m=r.$nn;return _o(content: m.$c(_S[32])? _1.a<_i>(m[_S[32]],(m)=>$Content.fromMap(m))!:throw __x(_S[34],_S[32]),toolCalls: m.$c(_S[39]) ?  (m[_S[39]] as _16).$m((e)=> _1.a<_s>(e,(m)=>$ToolCall.fromMap(m))!).$l : _V[6],);}