copyWith method
_12
copyWith({
- _7? id,
- _7? canonical_slug,
- _7? name,
- _9? created,
- _9? deltaCreated,
- _9? context_length,
- _9? deltaContext_length,
- _13? architecture,
- _6? supported_parameters,
- _19 resetSupported_parameters = _F,
- _6? appendSupported_parameters,
- _6? removeSupported_parameters,
- _14? pricing,
- _19 resetPricing = _F,
Implementation
_12 copyWith({_7? id,_7? canonical_slug,_7? name,_9? created,_9? deltaCreated,_9? context_length,_9? deltaContext_length,_13? architecture,_6? supported_parameters,_19 resetSupported_parameters=_F,_6? appendSupported_parameters,_6? removeSupported_parameters,_14? pricing,_19 resetPricing=_F,})=>_12(id: id??_H.id,canonical_slug: canonical_slug??_H.canonical_slug,name: name??_H.name,created: deltaCreated!=null?(created??_H.created)+deltaCreated:created??_H.created,context_length: deltaContext_length!=null?(context_length??_H.context_length)+deltaContext_length:context_length??_H.context_length,architecture: architecture??_H.architecture,supported_parameters: ((resetSupported_parameters?_V[9]:(supported_parameters??_H.supported_parameters)) as _6).$u(appendSupported_parameters,removeSupported_parameters),pricing: resetPricing?_V[12]:(pricing??_H.pricing),);