Skip to content

Commit a39e4fa

Browse files
bwilkersoncommit-bot@chromium.org
authored andcommitted
Add information about the deprecated ParameterElement.parameterKind
Change-Id: I4dedda5b73b1e36246dc63c2c79355215ed00735 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/107721 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Auto-Submit: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
1 parent f6dfad0 commit a39e4fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/analyzer/lib/dart/element/element.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,8 @@ abstract class ParameterElement
14871487
bool get isRequiredPositional;
14881488

14891489
/// Return the kind of this parameter.
1490-
@deprecated
1490+
@Deprecated('Use the getters isOptionalNamed, isOptionalPositional, '
1491+
'isRequiredNamed, and isRequiredPositional')
14911492
ParameterKind get parameterKind;
14921493

14931494
/// Return a list containing all of the parameters defined by this parameter.

0 commit comments

Comments
 (0)