copyWith method
Implementation
ToolCallContentDiff copyWith({
Object? type = _acpCopyWithAbsent,
Object? path = _acpCopyWithAbsent,
Object? oldText = _acpCopyWithAbsent,
Object? newText = _acpCopyWithAbsent,
Object? meta = _acpCopyWithAbsent,
}) => ToolCallContentDiff(
type: identical(type, _acpCopyWithAbsent) ? this.type : type as String,
path: identical(path, _acpCopyWithAbsent) ? this.path : path as String,
oldText: identical(oldText, _acpCopyWithAbsent)
? this.oldText
: oldText as String?,
newText: identical(newText, _acpCopyWithAbsent)
? this.newText
: newText as String,
meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);