copyWith method
_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,
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),);