copyWith method
Implementation
NewSessionResponse copyWith({
Object? sessionId = _acpCopyWithAbsent,
Object? modes = _acpCopyWithAbsent,
Object? configOptions = _acpCopyWithAbsent,
Object? meta = _acpCopyWithAbsent,
}) => NewSessionResponse(
sessionId: identical(sessionId, _acpCopyWithAbsent)
? this.sessionId
: sessionId as SessionId,
modes: identical(modes, _acpCopyWithAbsent)
? this.modes
: modes as SessionModeState?,
configOptions: identical(configOptions, _acpCopyWithAbsent)
? this.configOptions
: configOptions as List<SessionConfigOption>?,
meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);