languageVersion property

LanguageVersion? languageVersion

The default language version associated with this package.

Each package may have a default language version associated, which is the language version used to parse and compile Dart files in the package. A package version is defined by two non-negative numbers, the major and minor version numbers.

A package may have no language version associated with it in the package configuration, in which case tools should use a default behavior for the package.

Implementation

LanguageVersion? get languageVersion;