@@ -85,7 +85,8 @@ const _Checked checked = _Checked();
8585///
8686/// * the annotation is associated with anything other than a library, class,
8787/// method or getter, top-level getter or function, or
88- /// * an invocation of a member that has this annotation is returned by a method,
88+ /// * an invocation of a member that has this annotation is returned by a
89+ /// function or getter that is not similarly annotated as method,
8990/// getter or function that is not similarly annotated as `doNotStore` , or
9091/// * an invocation of a member that has this annotation is assigned to a field
9192/// or top-level variable.
@@ -450,12 +451,16 @@ const _Reopen reopen = _Reopen();
450451/// * an invocation of a method or function does not include an argument
451452/// corresponding to a named parameter that has this annotation.
452453///
453- /// **Deprecated:** This annotation is set to be deprecated and later
454- /// removed in a future release of `package:meta` .
454+ /// **Deprecated:** This annotation is set to be removed in a future release of
455+ /// `package:meta` .
456+ ///
455457/// In Dart 2.12 and later, use the built-in `required` keyword
456458/// to mark a named parameter as required.
457459/// To learn more about `required` , check out the documentation on
458460/// [named parameters] (https://dart.dev/language/functions#named-parameters).
461+ @Deprecated (
462+ 'In Dart 2.12 and later, use the built-in `required` keyword to mark a '
463+ 'named parameter as required.' )
459464const Required required = Required ();
460465
461466/// Annotation marking a class as not allowed as a super-type
@@ -553,21 +558,24 @@ class RecordUse {
553558 /// Creates a [RecordUse] instance.
554559 ///
555560 /// This annotation can be placed as an annotation on functions whose
556- /// statically resolved calls should be registered together with the optional
557- /// [metadata] information.
561+ /// statically resolved calls should be registered
558562 const RecordUse ();
559563}
560564
561565/// Used to annotate a named parameter `p` in a method or function `f` .
562566///
563567/// See [required] for more details.
564568///
565- /// **Deprecated:** This annotation is set to be deprecated and later
566- /// removed in a future release of `package:meta` .
569+ /// **Deprecated:** This annotation is set to be removed in a future release of
570+ /// `package:meta` .
571+ ///
567572/// In Dart 2.12 and later, use the built-in `required` keyword
568573/// to mark a named parameter as required.
569574/// To learn more about `required` , check out the documentation on
570575/// [named parameters] (https://dart.dev/language/functions#named-parameters).
576+ @Deprecated (
577+ 'In Dart 2.12 and later, use the built-in `required` keyword to mark a '
578+ 'named parameter as required.' )
571579class Required {
572580 /// A human-readable explanation of the reason why the annotated parameter is
573581 /// required. For example, the annotation might look like:
0 commit comments