platformEnvironment top-level property
Environment without debug VM_OPTIONS and without any user overrides
Instead replace with an optional TEKARTIK_DART_VM_OPTIONS
Implementation
Map<String, String> get platformEnvironment => _platformEnvironment ??=
environmentFilterOutVmOptions(Platform.environment);
Warning, change the platform environment and reset.
Implementation
set platformEnvironment(Map<String, String>? environment) {
_userAppDataPath = null;
_userHomePath = null;
_dartToolPaths = null;
_platformEnvironment = environment;
shellEnvironment = null;
}