| Index: sdk/lib/core/bool.dart
|
| diff --git a/sdk/lib/core/bool.dart b/sdk/lib/core/bool.dart
|
| index 62d48d364080ae9e239a92ae6bd55b6f6fc4431a..8150219d02a0105fd468df416c26bd283d5025b3 100644
|
| --- a/sdk/lib/core/bool.dart
|
| +++ b/sdk/lib/core/bool.dart
|
| @@ -16,14 +16,10 @@ class bool {
|
| * Returns the boolean value of the environment declaration [name].
|
| *
|
| * The boolean value of the declaration is `true` if the declared value is
|
| - * the string `"true"`. Otherwise it is false.
|
| + * the string `"true"`, and `false` if the value is `"false"`.
|
| *
|
| - * If `name` is not declared, the result is instead [defaultValue].
|
| - *
|
| - * This constructor is equivalent to:
|
| - *
|
| - * const String.fromEnvironment(name,
|
| - * defaultValue: "$defaultValue") == "true"
|
| + * In all other cases, including when there is no declaration for `name`,
|
| + * the result is the [defaultValue].
|
| *
|
| * Example:
|
| *
|
|
|