| Index: lib/html/templates/html/impl/impl_Storage.darttemplate
|
| diff --git a/lib/html/templates/html/impl/impl_Storage.darttemplate b/lib/html/templates/html/impl/impl_Storage.darttemplate
|
| index 67f370bc7bd329349aee60b4a9a0698e4fa09282..38c83f2bbb4b9c87bd93d21d0228078ed9a39434 100644
|
| --- a/lib/html/templates/html/impl/impl_Storage.darttemplate
|
| +++ b/lib/html/templates/html/impl/impl_Storage.darttemplate
|
| @@ -5,7 +5,7 @@
|
| class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
|
|
| // TODO(nweiz): update this when maps support lazy iteration
|
| - bool containsValue(String value) => getValues().some((e) => e == value);
|
| + bool containsValue(String value) => values.some((e) => e == value);
|
|
|
| bool containsKey(String key) => $dom_getItem(key) != null;
|
|
|
| @@ -35,13 +35,13 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| }
|
| }
|
|
|
| - Collection<String> getKeys() {
|
| + Collection<String> get keys {
|
| final keys = [];
|
| forEach((k, v) => keys.add(k));
|
| return keys;
|
| }
|
|
|
| - Collection<String> getValues() {
|
| + Collection<String> get values {
|
| final values = [];
|
| forEach((k, v) => values.add(v));
|
| return values;
|
|
|