| OLD | NEW |
| 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.core; | 5 part of dart.core; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * The reserved words [:true:] and [:false:] denote objects that are the only | 8 * The reserved words [:true:] and [:false:] denote objects that are the only |
| 9 * instances of this class. | 9 * instances of this class. |
| 10 * | 10 * |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 external const factory bool.fromEnvironment(String name, | 41 external const factory bool.fromEnvironment(String name, |
| 42 {bool defaultValue: false}); | 42 {bool defaultValue: false}); |
| 43 | 43 |
| 44 /** | 44 /** |
| 45 * Returns [:"true":] if the receiver is [:true:], or [:"false":] if the | 45 * Returns [:"true":] if the receiver is [:true:], or [:"false":] if the |
| 46 * receiver is [:false:]. | 46 * receiver is [:false:]. |
| 47 */ | 47 */ |
| 48 String toString() { | 48 String toString() { |
| 49 return this ? "true" : "false"; | 49 return this ? "true" : "false"; |
| 50 } | 50 } |
| 51 |
| 52 external int get hashCode; |
| 51 } | 53 } |
| OLD | NEW |