| OLD | NEW |
| 1 part of dart.core; | 1 part of dart.core; |
| 2 | 2 abstract class Map<K, V> {factory Map() = LinkedHashMap<K, V>; |
| 3 abstract class Map<K, V> { | 3 factory Map.from(Map other) = LinkedHashMap<K, V>.from; |
| 4 factory Map() = LinkedHashMap<K, V>; | 4 factory Map.identity() = LinkedHashMap<K, V>.identity; |
| 5 factory Map.from(Map other) = LinkedHashMap<K, V>.from; | 5 factory Map.fromIterable(Iterable iterable, { |
| 6 factory Map.identity() = LinkedHashMap<K, V>.identity; | 6 K key(element), V value(element)} |
| 7 factory Map.fromIterable(Iterable iterable, | 7 ) = LinkedHashMap<K, V>.fromIterable; |
| 8 {K key(element), V value(element)}) = LinkedHashMap<K, V>.fromIterable; | 8 factory Map.fromIterables(Iterable<K> keys, Iterable<V> values) = LinkedHashMap
<K, V>.fromIterables; |
| 9 factory Map.fromIterables( | 9 bool containsValue(Object value); |
| 10 Iterable<K> keys, Iterable<V> values) = LinkedHashMap<K, V>.fromIterables; | 10 bool containsKey(Object key); |
| 11 bool containsValue(Object value); | 11 V operator [](Object key); |
| 12 bool containsKey(Object key); | 12 void operator []=(K key, V value); |
| 13 V operator [](Object key); | 13 V putIfAbsent(K key, V ifAbsent()); |
| 14 void operator []=(K key, V value); | 14 void addAll(Map<K, V> other); |
| 15 V putIfAbsent(K key, V ifAbsent()); | 15 V remove(Object key); |
| 16 void addAll(Map<K, V> other); | 16 void clear(); |
| 17 V remove(Object key); | 17 void forEach(void f(K key, V value)); |
| 18 void clear(); | 18 Iterable<K> get keys; |
| 19 void forEach(void f(K key, V value)); | 19 Iterable<V> get values; |
| 20 Iterable<K> get keys; | 20 int get length; |
| 21 Iterable<V> get values; | 21 bool get isEmpty; |
| 22 int get length; | 22 bool get isNotEmpty; |
| 23 bool get isEmpty; | |
| 24 bool get isNotEmpty; | |
| 25 } | 23 } |
| OLD | NEW |