Index: packages/observable/lib/src/property_change_record.dart |
diff --git a/packages/observe/lib/src/change_record.dart b/packages/observable/lib/src/property_change_record.dart |
similarity index 65% |
rename from packages/observe/lib/src/change_record.dart |
rename to packages/observable/lib/src/property_change_record.dart |
index 576a1737a1ae80ad1fc8b10f6669efe2b983b11f..a09c196205ae18de087e6cce31b6e195c926f1f9 100644 |
--- a/packages/observe/lib/src/change_record.dart |
+++ b/packages/observable/lib/src/property_change_record.dart |
@@ -1,20 +1,15 @@ |
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
+// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-library observe.src.change_record; |
+library observable.src.property_change_record; |
-import 'package:observe/observe.dart'; |
+import 'change_record.dart'; |
- |
-/// Records a change to an [Observable]. |
-// TODO(jmesserly): remove this type |
-abstract class ChangeRecord {} |
- |
-/// A change record to a field of an observable object. |
+/// A change record to a field of an [Observable] object. |
class PropertyChangeRecord<T> extends ChangeRecord { |
/// The object that changed. |
- final object; |
+ final Object object; |
/// The name of the property that changed. |
final Symbol name; |