Feature class abstract
Information about a single language feature whose presence or absence depends on the supported Dart SDK version, and possibly on the presence of experimental flags.
Constructors
- Feature()
Properties
- experimentalFlag → String?
-
If the feature may be enabled or disabled on the command line, the
experimental flag that may be used to enable it. Otherwise
null
.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- releaseVersion → Version?
-
If status is not
future
, the first language version in which this feature was enabled by default. Otherwisenull
.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → FeatureStatus
-
The status of the feature.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- augmentations → ExperimentalFeature
-
Feature information for augmentations.
final
- class_modifiers → ExperimentalFeature
-
Feature information for class modifiers.
final
- constant_update_2018 → ExperimentalFeature
-
Feature information for the 2018 constant update.
final
- constructor_tearoffs → ExperimentalFeature
-
Feature information for constructor tear-offs.
final
- control_flow_collections → ExperimentalFeature
-
Feature information for control flow collections.
final
- digit_separators → ExperimentalFeature
-
Feature information for number literal digit separators.
final
- enhanced_enums → ExperimentalFeature
-
Feature information for enhanced enums.
final
- enhanced_parts → ExperimentalFeature
-
Feature information for enhanced parts.
final
- enum_shorthands → ExperimentalFeature
-
Feature information for enum shorthands.
final
- extension_methods → ExperimentalFeature
-
Feature information for extension methods.
final
- generic_metadata → ExperimentalFeature
-
Feature information for generic metadata.
final
- inference_update_1 → ExperimentalFeature
-
Feature information for inference-update-1.
final
- inference_update_2 → ExperimentalFeature
-
Feature information for inference-update-2.
final
- inference_update_3 → ExperimentalFeature
-
Feature information for inference-update-3.
final
- inference_update_4 → ExperimentalFeature
-
Feature information for inference-update-4.
final
- inference_using_bounds → ExperimentalFeature
-
Feature information for inference using bounds.
final
- inline_class → ExperimentalFeature
-
Feature information for inline classes.
final
- macros → ExperimentalFeature
-
Feature information for macros.
final
- named_arguments_anywhere → ExperimentalFeature
-
Feature information for named arguments anywhere.
final
- non_nullable → ExperimentalFeature
-
Feature information for non-nullability by default.
final
- nonfunction_type_aliases → ExperimentalFeature
-
Feature information for non-function type aliases.
final
- null_aware_elements → ExperimentalFeature
-
Feature information for null-aware elements.
final
- patterns → ExperimentalFeature
-
Feature information for patterns.
final
- records → ExperimentalFeature
-
Feature information for records.
final
- sealed_class → ExperimentalFeature
-
final
- set_literals → ExperimentalFeature
-
Feature information for set literals.
final
- spread_collections → ExperimentalFeature
-
Feature information for spread collections.
final
- super_parameters → ExperimentalFeature
-
Feature information for super parameters.
final
- triple_shift → ExperimentalFeature
-
Feature information for the triple-shift operator.
final
- unnamedLibraries → ExperimentalFeature
-
Feature information for unnamed libraries.
final
- unquotedImports → ExperimentalFeature
-
Feature information for unquoted imports.
final
- variance → ExperimentalFeature
-
Feature information for variance.
final
- wildcard_variables → ExperimentalFeature
-
Feature information for wildcard variables.
final