featureSet property

FeatureSet featureSet

The set of features available to this compilation unit, or null if unknown.

Determined by some combination of the .packages file, the enclosing package's SDK version constraint, and/or the presence of a @dart directive in a comment at the top of the file.

Might be null if, for example, this CompilationUnit has been resynthesized from a summary.

Implementation

FeatureSet get featureSet;