File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 44 extend classes marked ` base ` , ` final ` or ` interface ` .
55* Introduce ` @MustBeOverridden ` to annotate class or mixin members which must be
66 overridden in all subclasses.
7+ * Deprecate ` @alwaysThrows ` , which can be replaced by using a return type of
8+ 'Never'.
79
810## 1.8.0
911
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ import 'meta_meta.dart';
5151/// Tools, such as the analyzer, can also expect this contract to be enforced;
5252/// that is, tools may emit warnings if a function with this annotation
5353/// _doesn't_ always throw.
54+ @Deprecated ("Use a return type of 'Never' instead" )
5455const _AlwaysThrows alwaysThrows = _AlwaysThrows ();
5556
5657/// Used to annotate a parameter of an instance method that overrides another
You can’t perform that action at this time.
0 commit comments