Feature class

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. [...]
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
releaseVersion Version
If status is not future, the first language version in which this feature was enabled by default. Otherwise null.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
status FeatureStatus
The status of the feature.
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns 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
control_flow_collections → ExperimentalFeature
Feature information for control flow collections.
final
extension_methods → ExperimentalFeature
Feature information for extension methods.
final
non_nullable → ExperimentalFeature
Feature information for non-nullability by default.
final
nonfunction_type_aliases → ExperimentalFeature
Feature information for non-function type aliases.
final
set_literals → ExperimentalFeature
Feature information for set literals.
final
spread_collections → ExperimentalFeature
Feature information for spread collections.
final
triple_shift → ExperimentalFeature
Feature information for the triple-shift operator.
final
variance → ExperimentalFeature
Feature information for variance.
final