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