OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 library observe.test.benchmark.test_observable; | |
5 | |
6 import 'package:observe/observe.dart'; | |
7 | |
8 class Bar extends Observable { | |
9 @observable int baz; | |
10 | |
11 Bar(this.baz); | |
12 } | |
13 | |
14 class Foo extends Observable { | |
15 @observable Bar bar; | |
16 | |
17 Foo(int value) : bar = new Bar(value); | |
18 } | |
19 | |
20 class TestPathObservable extends Observable { | |
21 @observable Foo foo; | |
22 | |
23 TestPathObservable(int value) : foo = new Foo(value); | |
24 } | |
OLD | NEW |