copyWith method
Implementation
RequestPermissionRequest copyWith({
Object? sessionId = _acpCopyWithAbsent,
Object? toolCall = _acpCopyWithAbsent,
Object? options = _acpCopyWithAbsent,
Object? meta = _acpCopyWithAbsent,
}) => RequestPermissionRequest(
sessionId: identical(sessionId, _acpCopyWithAbsent)
? this.sessionId
: sessionId as SessionId,
toolCall: identical(toolCall, _acpCopyWithAbsent)
? this.toolCall
: toolCall as ToolCallUpdate,
options: identical(options, _acpCopyWithAbsent)
? this.options
: options as List<PermissionOption>,
meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);