copyWith method

_p copyWith({
  1. _3? id,
  2. _5? context_length,
  3. _w resetContext_length = _F,
  4. _5? deltaContext_length,
  5. _q? architecture,
  6. _2? supported_parameters,
  7. _w resetSupported_parameters = _F,
  8. _2? appendSupported_parameters,
  9. _2? removeSupported_parameters,
  10. _r? pricing,
  11. _w resetPricing = _F,
})

Implementation

_p copyWith({_3? id,_5? context_length,_w resetContext_length=_F,_5? deltaContext_length,_q? architecture,_2? supported_parameters,_w resetSupported_parameters=_F,_2? appendSupported_parameters,_2? removeSupported_parameters,_r? pricing,_w resetPricing=_F,})=>_p(id: id??_H.id,context_length: deltaContext_length!=null?(context_length??_H.context_length)+deltaContext_length:resetContext_length?_V[8]:(context_length??_H.context_length),architecture: architecture??_H.architecture,supported_parameters: ((resetSupported_parameters?_V[9]:(supported_parameters??_H.supported_parameters)) as _2).$u(appendSupported_parameters,removeSupported_parameters),pricing: resetPricing?_V[10]:(pricing??_H.pricing),);