OLD | NEW |
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 barback.asset.asset_node; | 5 library barback.asset.asset_node; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import '../errors.dart'; | 9 import '../errors.dart'; |
10 import '../graph/transform_node.dart'; | 10 import '../graph/transform_node.dart'; |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 | 274 |
275 /// Whether this state is [AssetState.RUNNING]. | 275 /// Whether this state is [AssetState.RUNNING]. |
276 bool get isDirty => this == AssetState.RUNNING; | 276 bool get isDirty => this == AssetState.RUNNING; |
277 | 277 |
278 final String name; | 278 final String name; |
279 | 279 |
280 const AssetState._(this.name); | 280 const AssetState._(this.name); |
281 | 281 |
282 String toString() => name; | 282 String toString() => name; |
283 } | 283 } |
OLD | NEW |