Index: pkg/observe/lib/src/observable.dart |
diff --git a/pkg/observe/lib/src/observable.dart b/pkg/observe/lib/src/observable.dart |
index c5c56abe1fc208ce9db21ce968e40af29ad36ad2..721b6138c4f0db6eb34faf25d4d4f71bf139ef22 100644 |
--- a/pkg/observe/lib/src/observable.dart |
+++ b/pkg/observe/lib/src/observable.dart |
@@ -5,11 +5,6 @@ |
part of observe; |
/** |
- * Use `@observable` to make a field automatically observable. |
- */ |
-const ObservableProperty observable = const ObservableProperty(); |
- |
-/** |
* Interface representing an observable object. This is used by data in |
* model-view architectures to notify interested parties of [changes]. |
* |
@@ -217,19 +212,3 @@ _notifyPropertyChange(Observable obj, Symbol field, Object oldValue, |
} |
return newValue; |
} |
- |
- |
-/** |
- * An annotation that is used to make a property observable. |
- * Normally this is used via the [observable] constant, for example: |
- * |
- * class Monster { |
- * @observable int health; |
- * } |
- * |
- * If needed, you can subclass this to create another annotation that will also |
- * be treated as observable. |
- */ |
-class ObservableProperty { |
- const ObservableProperty(); |
-} |