Index: runtime/lib/string_patch.dart |
=================================================================== |
--- runtime/lib/string_patch.dart (revision 28841) |
+++ runtime/lib/string_patch.dart (working copy) |
@@ -6,6 +6,10 @@ |
/* patch */ factory String.fromCharCodes(Iterable<int> charCodes) { |
return _StringBase.createFromCharCodes(charCodes); |
} |
+ |
+ /* patch */ const factory String.fromEnvironment(String name, |
+ {String defaultValue: ''}) |
+ native "String_fromEnvironment"; |
} |