copyWith method
Implementation
McpServerStdio copyWith({
Object? name = _acpCopyWithAbsent,
Object? command = _acpCopyWithAbsent,
Object? args = _acpCopyWithAbsent,
Object? env = _acpCopyWithAbsent,
Object? meta = _acpCopyWithAbsent,
}) => McpServerStdio(
name: identical(name, _acpCopyWithAbsent) ? this.name : name as String,
command: identical(command, _acpCopyWithAbsent)
? this.command
: command as String,
args: identical(args, _acpCopyWithAbsent)
? this.args
: args as List<String>,
env: identical(env, _acpCopyWithAbsent)
? this.env
: env as List<EnvVariable>,
meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);