OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 part of service; | 5 part of service; |
6 | 6 |
7 /// A [ServiceObject] is an object known to the VM service and is tied | 7 /// A [ServiceObject] is an object known to the VM service and is tied |
8 /// to an owning [Isolate]. | 8 /// to an owning [Isolate]. |
9 abstract class ServiceObject extends Observable { | 9 abstract class ServiceObject extends Observable { |
10 static int LexicalSortName(ServiceObject o1, ServiceObject o2) { | 10 static int LexicalSortName(ServiceObject o1, ServiceObject o2) { |
(...skipping 2724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2735 var v = list[i]; | 2735 var v = list[i]; |
2736 if ((v is ObservableMap) && _isServiceMap(v)) { | 2736 if ((v is ObservableMap) && _isServiceMap(v)) { |
2737 list[i] = owner.getFromMap(v); | 2737 list[i] = owner.getFromMap(v); |
2738 } else if (v is ObservableList) { | 2738 } else if (v is ObservableList) { |
2739 _upgradeObservableList(v, owner); | 2739 _upgradeObservableList(v, owner); |
2740 } else if (v is ObservableMap) { | 2740 } else if (v is ObservableMap) { |
2741 _upgradeObservableMap(v, owner); | 2741 _upgradeObservableMap(v, owner); |
2742 } | 2742 } |
2743 } | 2743 } |
2744 } | 2744 } |
OLD | NEW |