copyWith method
_y
copyWith({
- _7? id,
- _9? context_length,
- _19 resetContext_length = _F,
- _9? deltaContext_length,
- _z? architecture,
- _6? supported_parameters,
- _19 resetSupported_parameters = _F,
- _6? appendSupported_parameters,
- _6? removeSupported_parameters,
- _10? pricing,
- _19 resetPricing = _F,
Implementation
_y copyWith({_7? id,_9? context_length,_19 resetContext_length=_F,_9? deltaContext_length,_z? architecture,_6? supported_parameters,_19 resetSupported_parameters=_F,_6? appendSupported_parameters,_6? removeSupported_parameters,_10? pricing,_19 resetPricing=_F,})=>_y(id: id??_H.id,context_length: deltaContext_length!=null?(context_length??_H.context_length)+deltaContext_length:resetContext_length?_V[9]:(context_length??_H.context_length),architecture: architecture??_H.architecture,supported_parameters: ((resetSupported_parameters?_V[10]:(supported_parameters??_H.supported_parameters)) as _6).$u(appendSupported_parameters,removeSupported_parameters),pricing: resetPricing?_V[11]:(pricing??_H.pricing),);