copyWith method
Implementation
ActionStep copyWith({
ActionStepStatus? status,
String? error,
DateTime? completedAt,
}) {
return ActionStep(
id: id,
description: description,
toolName: toolName,
arguments: arguments,
status: status ?? this.status,
error: error ?? this.error,
startedAt: startedAt,
completedAt: completedAt ?? this.completedAt,
);
}