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. Otherwise null.
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

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
enhanced_enums → ExperimentalFeature
Feature information for enhanced enums.
final
extension_methods → ExperimentalFeature
Feature information for extension methods.
final
extension_types → ExperimentalFeature
Feature information for extension types.
final
generic_metadata → ExperimentalFeature
Feature information for generic metadata.
final
inference_update_1 → ExperimentalFeature
Feature information for inference-update-1.
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
records → ExperimentalFeature
Feature information for records.
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
variance → ExperimentalFeature
Feature information for variance.
final