Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Side by Side Diff: sdk/lib/io/platform.dart

Issue 1583763002: Change Platform.isiOS to isIOS. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « CHANGELOG.md ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart.io; 5 part of dart.io;
6 6
7 /** 7 /**
8 * Information about the environment in which the current program is running. 8 * Information about the environment in which the current program is running.
9 * 9 *
10 * Platform provides information such as the operating system, 10 * Platform provides information such as the operating system,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 static final bool isWindows = (_operatingSystem == "windows"); 110 static final bool isWindows = (_operatingSystem == "windows");
111 111
112 /** 112 /**
113 * Returns true if the operating system is Android. 113 * Returns true if the operating system is Android.
114 */ 114 */
115 static final bool isAndroid = (_operatingSystem == "android"); 115 static final bool isAndroid = (_operatingSystem == "android");
116 116
117 /** 117 /**
118 * Returns true if the operating system is iOS. 118 * Returns true if the operating system is iOS.
119 */ 119 */
120 static final bool isiOS = (_operatingSystem == "ios"); 120 static final bool isIOS = (_operatingSystem == "ios");
121 121
122 /** 122 /**
123 * Get the environment for this process. 123 * Get the environment for this process.
124 * 124 *
125 * The returned environment is an unmodifiable map which content is 125 * The returned environment is an unmodifiable map which content is
126 * retrieved from the operating system on its first use. 126 * retrieved from the operating system on its first use.
127 * 127 *
128 * Environment variables on Windows are case-insensitive. The map 128 * Environment variables on Windows are case-insensitive. The map
129 * returned on Windows is therefore case-insensitive and will convert 129 * returned on Windows is therefore case-insensitive and will convert
130 * all keys to upper case. On other platforms the returned map is 130 * all keys to upper case. On other platforms the returned map is
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 /** 201 /**
202 * Returns the version of the current Dart runtime. 202 * Returns the version of the current Dart runtime.
203 * 203 *
204 * The returned `String` is formatted as the 204 * The returned `String` is formatted as the
205 * [semver](http://semver.org) version string of the current dart 205 * [semver](http://semver.org) version string of the current dart
206 * runtime, possibly followed by whitespace and other version and 206 * runtime, possibly followed by whitespace and other version and
207 * build details. 207 * build details.
208 */ 208 */
209 static String get version => _version; 209 static String get version => _version;
210 } 210 }
OLDNEW
« no previous file with comments | « CHANGELOG.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698