| Index: sdk/lib/core/string.dart
|
| diff --git a/sdk/lib/core/string.dart b/sdk/lib/core/string.dart
|
| index 488078d803a74eabbf71b1a9bb0713ec798aa9a9..8da434e7d520d7135dd0a571f7e031e34cbc3f28 100644
|
| --- a/sdk/lib/core/string.dart
|
| +++ b/sdk/lib/core/string.dart
|
| @@ -125,6 +125,13 @@ abstract class String implements Comparable<String>, Pattern {
|
| }
|
|
|
| /**
|
| + * Returns the string for the given environment variable [name] or
|
| + * [defaultValue] if [name] is not present.
|
| + */
|
| + external const factory String.fromEnvironment(String name,
|
| + {String defaultValue});
|
| +
|
| + /**
|
| * Gets the character (as a single-code-unit [String]) at the given [index].
|
| *
|
| * The returned string represents exactly one UTF-16 code unit, which may be
|
|
|