copyWith method

ShellContext copyWith({
  1. ShellEnvironment? shellEnvironment,
})

Copy with a new shell environment

Implementation

ShellContext copyWith({ShellEnvironment? shellEnvironment}) {
  return _ShellContextWithDelegate(
    this,
    shellEnvironment: shellEnvironment ?? this.shellEnvironment,
  );
}