copyWith method

_y copyWith({
  1. _7? id,
  2. _9? context_length,
  3. _19 resetContext_length = _F,
  4. _9? deltaContext_length,
  5. _z? architecture,
  6. _6? supported_parameters,
  7. _19 resetSupported_parameters = _F,
  8. _6? appendSupported_parameters,
  9. _6? removeSupported_parameters,
  10. _10? pricing,
  11. _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),);