Index: pkg/lookup_map/lib/lookup_map.dart |
diff --git a/pkg/lookup_map/lib/lookup_map.dart b/pkg/lookup_map/lib/lookup_map.dart |
index 65ac7540aca4702d309a97255f68f66750a6bd46..2e501cd16e6e680559f9b07d3d974edaa60d6d30 100644 |
--- a/pkg/lookup_map/lib/lookup_map.dart |
+++ b/pkg/lookup_map/lib/lookup_map.dart |
@@ -60,14 +60,20 @@ class LookupMap<K, V> { |
/// instead of a list of key-value pairs. |
// TODO(sigmund): make entries a map once we fix TypeImpl.== (issue #17207). |
const LookupMap(List entries, [List<LookupMap<K, V>> nestedMaps = const []]) |
- : _key = null, _value = null, _entries = entries, _nestedMaps = nestedMaps; |
+ : _key = null, |
+ _value = null, |
+ _entries = entries, |
+ _nestedMaps = nestedMaps; |
/// Creates a lookup map with a single key-value pair. |
const LookupMap.pair(K key, V value) |
- : _key = key, _value = value, _entries = const [], _nestedMaps = const []; |
+ : _key = key, |
+ _value = value, |
+ _entries = const [], |
+ _nestedMaps = const []; |
/// Return the data corresponding to [key]. |
- V operator[](K key) { |
+ V operator [](K key) { |
var map = _flatMap[this]; |
if (map == null) { |
map = {}; |