expand static method
raw with each value's ${VAR}/$VAR references expanded against
environment.
Implementation
static Map<String, String> expand(
Map<String, String> raw,
Map<String, String> environment,
) => {
for (final MapEntry(:key, :value) in raw.entries)
key: _expand(value, environment),
};