| OLD | NEW |
| 1 part of dart.async; | 1 part of dart.async; |
| 2 | 2 |
| 3 @Deprecated("Dart sdk v. 1.8") | 3 @Deprecated("Dart sdk v. 1.8") |
| 4 class DeferredLibrary { | 4 class DeferredLibrary { |
| 5 final String libraryName; | 5 final String libraryName; |
| 6 final String uri; | 6 final String uri; |
| 7 const DeferredLibrary(this.libraryName, {this.uri}); | 7 const DeferredLibrary(this.libraryName, {this.uri}); |
| 8 Future<Null> load() { | 8 external Future<Null> load(); |
| 9 throw 'DeferredLibrary not supported. ' 'please use the `import "lib.dart" d
eferred as lib` syntax.'; | |
| 10 } | |
| 11 } | 9 } |
| 12 class DeferredLoadException implements Exception { | 10 class DeferredLoadException implements Exception { |
| 13 DeferredLoadException(String this._s); | 11 DeferredLoadException(String this._s); |
| 14 String toString() => "DeferredLoadException: '$_s'"; | 12 String toString() => "DeferredLoadException: '$_s'"; |
| 15 final String _s; | 13 final String _s; |
| 16 } | 14 } |
| OLD | NEW |