Index: lib/observe_html.dart |
diff --git a/lib/observe_html.dart b/lib/observe_html.dart |
index bae2fb2d85c5882fc3995c75b653e84d74438920..7280b0e4434d11b48d66045353b86721f1e26a99 100644 |
--- a/lib/observe_html.dart |
+++ b/lib/observe_html.dart |
@@ -32,14 +32,14 @@ class ObservableLocationHash extends ChangeNotifierBase { |
* Pushes a new URL state, similar to the affect of clicking a link. |
* Has no effect if the [value] already equals [window.location.hash]. |
*/ |
- set hash(String value) { |
+ void set hash(String value) { |
if (value == hash) return; |
window.history.pushState(null, '', value); |
_notifyHashChange(null); |
} |
- _notifyHashChange(_) { |
+ void _notifyHashChange(_) { |
notifyChange(new PropertyChangeRecord(const Symbol('hash'))); |
} |
} |