Index: pkg/analyzer_experimental/lib/src/generated/utilities_dart.dart |
diff --git a/pkg/analyzer_experimental/lib/src/generated/utilities_dart.dart b/pkg/analyzer_experimental/lib/src/generated/utilities_dart.dart |
index 726e294f8221a21e326a8141b3516a0ccc5b4201..40fe9a4cfe96091de6336536a9bac76f35d3aa6f 100644 |
--- a/pkg/analyzer_experimental/lib/src/generated/utilities_dart.dart |
+++ b/pkg/analyzer_experimental/lib/src/generated/utilities_dart.dart |
@@ -18,7 +18,7 @@ class ParameterKind extends Enum<ParameterKind> { |
/** |
* A flag indicating whether this is an optional parameter. |
*/ |
- bool _isOptional2 = false; |
+ bool isOptional = false; |
/** |
* Initialize a newly created kind with the given state. |
@@ -26,13 +26,6 @@ class ParameterKind extends Enum<ParameterKind> { |
* @param isOptional `true` if this is an optional parameter |
*/ |
ParameterKind(String name, int ordinal, bool isOptional) : super(name, ordinal) { |
- this._isOptional2 = isOptional; |
+ this.isOptional = isOptional; |
} |
- |
- /** |
- * Return `true` if this is an optional parameter. |
- * |
- * @return `true` if this is an optional parameter |
- */ |
- bool get isOptional => _isOptional2; |
} |