shellEnvironment top-level property
Cached shell environment with user config Same as userEnvironment
Implementation
// Map<String, String> get platformEnvironment => rawShellEnvironment
/// Same as userEnvironment
Map<String, String> get shellEnvironment =>
_shellEnvironment ?? userEnvironment;
Warning, change the shell environment for the next run commands.
Implementation
set shellEnvironment(Map<String, String>? environment) {
if (environment == null) {
_shellEnvironment = null;
} else {
_shellEnvironment = asShellEnvironment(environment);
}
}