| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 /// Collects definitions provided to the compiler via the `-D` flag. |
| 6 /// |
| 7 /// Environment variables can be used in the user code in two ways. From |
| 8 /// conditional imports, and from `const String.fromEnvironment` and |
| 9 /// other similar constructors. |
| 10 abstract class Environment { |
| 11 /// Return the string value of the given key. |
| 12 /// |
| 13 /// Note that `bool.fromEnvironment` and `int.fromEnvironment` are also |
| 14 /// implemented in terms of `String.fromEnvironment`. |
| 15 String valueOf(String key); |
| 16 } |
| OLD | NEW |