Index: runtime/lib/immutable_map.dart |
diff --git a/runtime/lib/immutable_map.dart b/runtime/lib/immutable_map.dart |
index 3ca9ed53d861e96c2187e2612a9ad4a89c25f5ec..3c5c72ecbf309c31bd3686c94d3c05b99cbbfd42 100644 |
--- a/runtime/lib/immutable_map.dart |
+++ b/runtime/lib/immutable_map.dart |
@@ -25,6 +25,8 @@ class ImmutableMap<K, V> implements Map<K, V> { |
return kvPairs_.length == 0; |
} |
+ bool get isNotEmpty => !isEmpty; |
+ |
int get length { |
return kvPairs_.length ~/ 2; |
} |