envFor method
The profile's variables for a session starting now, expanded against
environment (default: this process's).
A missing file means an empty profile, as for NodeProfile.load.
Implementation
Map<String, String> envFor([Map<String, String>? environment]) {
_refresh();
return NodeProfile.expand(_raw, environment ?? Platform.environment);
}