Index: pkg/observe/lib/html.dart |
diff --git a/pkg/observe/lib/html.dart b/pkg/observe/lib/html.dart |
index aa65d02ba065eb70fb415fbd41bafe0df9f9a8be..4ba0154085c9707ee8f6fcdac9b6b9981e1ac483 100644 |
--- a/pkg/observe/lib/html.dart |
+++ b/pkg/observe/lib/html.dart |
@@ -27,13 +27,13 @@ class ObservableLocationHash extends ChangeNotifierBase { |
window.onPopState.listen(_notifyHashChange); |
} |
- String get hash => window.location.hash; |
+ @reflectable String get hash => window.location.hash; |
/** |
* Pushes a new URL state, similar to the affect of clicking a link. |
* Has no effect if the [value] already equals [window.location.hash]. |
*/ |
- void set hash(String value) { |
+ @reflectable void set hash(String value) { |
if (value == hash) return; |
window.history.pushState(null, '', value); |