copyWith method
Implementation
PromptResponse copyWith({
Object? stopReason = _acpCopyWithAbsent,
Object? meta = _acpCopyWithAbsent,
}) => PromptResponse(
stopReason: identical(stopReason, _acpCopyWithAbsent)
? this.stopReason
: stopReason as StopReason,
meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);