Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Side by Side Diff: packages/observe/lib/src/change_record.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library observe.src.change_record; 5 library observe.src.change_record;
6 6
7 import 'package:observe/observe.dart'; 7 import 'package:observe/observe.dart';
8 8
9 9
10 /// Records a change to an [Observable]. 10 /// Records a change to an [Observable].
(...skipping 12 matching lines...) Expand all
23 final T oldValue; 23 final T oldValue;
24 24
25 /// The new value of the property. 25 /// The new value of the property.
26 final T newValue; 26 final T newValue;
27 27
28 PropertyChangeRecord(this.object, this.name, this.oldValue, this.newValue); 28 PropertyChangeRecord(this.object, this.name, this.oldValue, this.newValue);
29 29
30 String toString() => 30 String toString() =>
31 '#<PropertyChangeRecord $name from: $oldValue to: $newValue>'; 31 '#<PropertyChangeRecord $name from: $oldValue to: $newValue>';
32 } 32 }
OLDNEW
« no previous file with comments | « packages/observe/lib/src/change_notifier.dart ('k') | packages/observe/lib/src/dirty_check.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698