 href="dart-core/Map-class.html">Map</a> that contains key-value pairs of strings. The Map is
unmodifiable. This sample shows how to get the value of the <code>PATH</code>
environment variable.</p>
<pre class="language-dart"><code>import 'dart:io' show Platform;

void main() {
  Map&lt;String, String&gt; envVars = Platform.environment;
  print(envVars['PATH']);
}
</code></pre>
<h2 id="determine-the-os">Determine the OS</h2>
<p>You can get the name of the operating system as a string with the
<a href="dart-i