copyWith method
Creates a copy of this model with optional field updates. Subclasses should override this with their specific type.
Implementation
@override
ReasoningEndEvent copyWith({
String? messageId,
int? timestamp,
dynamic rawEvent,
}) {
return ReasoningEndEvent(
messageId: messageId ?? this.messageId,
timestamp: timestamp ?? this.timestamp,
rawEvent: rawEvent ?? this.rawEvent,
);
}