OLD | NEW |
| 1 ## 1.1.1 |
| 2 * Update SDK constraint to be 2.0.0 dev friendly. |
| 3 |
1 ## 1.1.0 | 4 ## 1.1.0 |
2 * Introduce `@alwaysThrows` to declare that a function always throws | 5 * Introduce `@alwaysThrows` to declare that a function always throws |
3 (SDK issue [17999](https://github.com/dart-lang/sdk/issues/17999)). This | 6 (SDK issue [17999](https://github.com/dart-lang/sdk/issues/17999)). This |
4 is first available in Dart SDK 1.25.0-dev.1.0. | 7 is first available in Dart SDK 1.25.0-dev.1.0. |
5 | 8 |
6 ```dart | 9 ```dart |
7 import 'package:meta/meta.dart'; | 10 import 'package:meta/meta.dart'; |
8 | 11 |
9 // Without knowing that [failBigTime] always throws, it looks like this | 12 // Without knowing that [failBigTime] always throws, it looks like this |
10 // function might return without returning a bool. | 13 // function might return without returning a bool. |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 constructor must use the keyword `const` unless one or more of the | 90 constructor must use the keyword `const` unless one or more of the |
88 arguments to the constructor is not a compile-time constant. | 91 arguments to the constructor is not a compile-time constant. |
89 | 92 |
90 ## 0.9.0 | 93 ## 0.9.0 |
91 * Introduce `@protected` annotation for members that must only be called from | 94 * Introduce `@protected` annotation for members that must only be called from |
92 instance members of subclasses. | 95 instance members of subclasses. |
93 * Introduce `@required` annotation for optional parameters that should be treate
d | 96 * Introduce `@required` annotation for optional parameters that should be treate
d |
94 as required. | 97 as required. |
95 * Introduce `@mustCallSuper` annotation for methods that must be invoked by all | 98 * Introduce `@mustCallSuper` annotation for methods that must be invoked by all |
96 overriding methods. | 99 overriding methods. |
OLD | NEW |