fromMap static method
_t
fromMap(
- _1 r
Implementation
static _t fromMap(_1 r){_;_1 m=r.$nn;return _t(id: m.$c('id')? _0.da(m['id'], _3) as _3:(throw _z('${_S[104]}$m.')),canonical_slug: m.$c(_S[102])? _0.da(m[_S[102]], _3) as _3:(throw _z('${_S[105]}$m.')),name: m.$c(_S[49])? _0.da(m[_S[49]], _3) as _3:(throw _z('${_S[106]}$m.')),created: m.$c(_S[103])? _0.da(m[_S[103]], _5) as _5:(throw _z('${_S[107]}$m.')),context_length: m.$c(_S[85])? _0.da(m[_S[85]], _5) as _5:(throw _z('${_S[108]}$m.')),architecture: m.$c(_S[86])?$OpenRouterArchitecture.fromMap((m[_S[86]]) as _1):(throw _z('${_S[109]}$m.')),supported_parameters: m.$c(_S[87]) ? (m[_S[87]] as _x).$m((e)=> _0.da(e, _3) as _3).$l : _V[9],pricing: m.$c(_S[88]) ? $OpenRouterPricing.fromMap((m[_S[88]]) as _1) : _V[12],);}