fromMap static method

_8 fromMap(
  1. _1 r
)

Implementation

static _8 fromMap(_1 r){_;_1 m=r.$nn;return _8(type: m.$c(_S[4])?_0.e(AgentAIConnectorType.values, m[_S[4]]) as AgentAIConnectorType:(throw _a('${_S[8]}$m.')),baseUrl: m.$c(_S[5]) ?  _0.da(m[_S[5]], _3) as _3? : null,apiKey: m.$c(_S[6]) ?  _0.da(m[_S[6]], _3) as _3? : null,model: m.$c(_S[7])? _0.da(m[_S[7]], _3) as _3:(throw _a('${_S[9]}$m.')),);}