environment property

  1. @override
Map<String, String> get environment
override

The environment for this process.

The returned environment is an unmodifiable map whose content is retrieved from the operating system on its first use.

Environment variables on Windows are case-insensitive. The map returned on Windows is therefore case-insensitive and will convert all keys to upper case. On other platforms the returned map is a standard case-sensitive map.

Implementation

@override
Map<String, String> get environment => io.Platform.environment;