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