blob: 6675822bd64f8ed3c45aca4831079430ce8adde4 [file] [log] [blame]
// Copyright (c) 2013, 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.test.benchmark.test_observable;
import 'package:observe/observe.dart';
class Bar extends AutoObservable {
@observable
int baz;
Bar(this.baz);
}
class Foo extends AutoObservable {
@observable
Bar bar;
Foo(int value) : bar = new Bar(value);
}
class TestPathObservable extends AutoObservable {
@observable
Foo foo;
TestPathObservable(int value) : foo = new Foo(value);
}