copyWith method

_e copyWith({
  1. _8? content,
  2. _10? toolCalls,
  3. _w resetToolCalls = _F,
  4. _10? appendToolCalls,
  5. _10? removeToolCalls,
})

Implementation

_e copyWith({_8? content,_10? toolCalls,_w resetToolCalls=_F,_10? appendToolCalls,_10? removeToolCalls,})=>_e(content: content??_H.content,toolCalls: ((resetToolCalls?_V[1]:(toolCalls??_H.toolCalls)) as _10).$u(appendToolCalls,removeToolCalls),);