FeatureSet.latestLanguageVersion constructor
Computes the set of features for the latest language version known
to the analyzer, with experiments according to flags
. Use it only if
you really don't care which language version you want to use, and sure
that the code that you process is valid for the latest language version.
Otherwise, it is recommended to use FeatureSet.fromEnableFlags2.
Implementation
factory FeatureSet.latestLanguageVersion({
List<String> flags,
}) = ExperimentStatus.latestLanguageVersion;