fromMap static method

_e fromMap(
  1. _1 r
)

Implementation

static _e fromMap(_1 r){_;_1 m=r.$nn;return _e(content: m.$c(_S[11])?$Content.fromMap((m[_S[11]]) as _1):(throw _z('${_S[21]}$m.')),toolCalls: m.$c(_S[20]) ?  (m[_S[20]] as _x).$m((e)=>$ToolCall.fromMap((e) as _1)).$l : _V[1],);}