analyzerDataVersion top-level constant
int
const analyzerDataVersion
The data version of the analyzer this build is linked with
(AnalysisDriver.DATA_VERSION): the analyzer raises it whenever what it
stores — summary bundles among it — changes format.
It is the exact key of the summary format. The major (analyzerMajorVersion) and the Dart SDK version (currentDartSdkVersion) are not enough: analyzer 14.5.0 (739) and 14.7.0 (752) on one Dart SDK write bundles the other cannot read. Being a constant of the linked analyzer, it is right in an AOT-compiled tool, where the package's own resolution cannot be looked up.
Implementation
const int analyzerDataVersion = AnalysisDriver.DATA_VERSION;