| OLD | NEW |
| 1 dart_library.library('dart/convert', null, /* Imports */[ | 1 dart_library.library('dart/convert', null, /* Imports */[ |
| 2 "dart_runtime/dart", | 2 "dart_runtime/dart", |
| 3 'dart/core', | 3 'dart/core', |
| 4 'dart/async', | 4 'dart/async', |
| 5 'dart/typed_data', | 5 'dart/typed_data', |
| 6 'dart/_internal', | 6 'dart/_internal', |
| 7 'dart/collection' | 7 'dart/collection' |
| 8 ], /* Lazy imports */[ | 8 ], /* Lazy imports */[ |
| 9 ], function(exports, dart, core, async, typed_data, _internal, collection) { | 9 ], function(exports, dart, core, async, typed_data, _internal, collection) { |
| 10 'use strict'; | 10 'use strict'; |
| (...skipping 2647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2658 } else if (dart.notNull(this.containsKey(key))) { | 2658 } else if (dart.notNull(this.containsKey(key))) { |
| 2659 let processed = this[_processed]; | 2659 let processed = this[_processed]; |
| 2660 _JsonMap._setProperty(processed, dart.as(key, core.String), value); | 2660 _JsonMap._setProperty(processed, dart.as(key, core.String), value); |
| 2661 let original = this[_original]; | 2661 let original = this[_original]; |
| 2662 if (!dart.notNull(core.identical(original, processed))) { | 2662 if (!dart.notNull(core.identical(original, processed))) { |
| 2663 _JsonMap._setProperty(original, dart.as(key, core.String), null); | 2663 _JsonMap._setProperty(original, dart.as(key, core.String), null); |
| 2664 } | 2664 } |
| 2665 } else { | 2665 } else { |
| 2666 this[_upgrade]().set(key, value); | 2666 this[_upgrade]().set(key, value); |
| 2667 } | 2667 } |
| 2668 return value; |
| 2668 } | 2669 } |
| 2669 addAll(other) { | 2670 addAll(other) { |
| 2670 other.forEach(dart.fn(((key, value) => { | 2671 other.forEach(dart.fn(((key, value) => { |
| 2671 this.set(key, value); | 2672 this.set(key, value); |
| 2672 }).bind(this))); | 2673 }).bind(this))); |
| 2673 } | 2674 } |
| 2674 containsValue(value) { | 2675 containsValue(value) { |
| 2675 if (dart.notNull(this[_isUpgraded])) | 2676 if (dart.notNull(this[_isUpgraded])) |
| 2676 return this[_upgradedMap].containsValue(value); | 2677 return this[_upgradedMap].containsValue(value); |
| 2677 let keys = this[_computeKeys](); | 2678 let keys = this[_computeKeys](); |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2894 exports.LineSplitter = LineSplitter; | 2895 exports.LineSplitter = LineSplitter; |
| 2895 exports.StringConversionSink = StringConversionSink; | 2896 exports.StringConversionSink = StringConversionSink; |
| 2896 exports.ClosableStringSink = ClosableStringSink; | 2897 exports.ClosableStringSink = ClosableStringSink; |
| 2897 exports.UNICODE_REPLACEMENT_CHARACTER_RUNE = UNICODE_REPLACEMENT_CHARACTER_RUN
E; | 2898 exports.UNICODE_REPLACEMENT_CHARACTER_RUNE = UNICODE_REPLACEMENT_CHARACTER_RUN
E; |
| 2898 exports.UNICODE_BOM_CHARACTER_RUNE = UNICODE_BOM_CHARACTER_RUNE; | 2899 exports.UNICODE_BOM_CHARACTER_RUNE = UNICODE_BOM_CHARACTER_RUNE; |
| 2899 exports.Utf8Codec = Utf8Codec; | 2900 exports.Utf8Codec = Utf8Codec; |
| 2900 exports.UTF8 = UTF8; | 2901 exports.UTF8 = UTF8; |
| 2901 exports.Utf8Encoder = Utf8Encoder; | 2902 exports.Utf8Encoder = Utf8Encoder; |
| 2902 exports.Utf8Decoder = Utf8Decoder; | 2903 exports.Utf8Decoder = Utf8Decoder; |
| 2903 }); | 2904 }); |
| OLD | NEW |