latestVersion property

Version latestVersion

The version of BuildConfig.

The build config is used in the protocol between the Dart and Flutter SDKs and packages through build hook invocations.

We're trying to avoid breaking changes. However, in the case that we have to, the major version mismatch between the Dart or Flutter SDK and build hook (hook/build.dart) will lead to a nice error message.

Implementation

static Version get latestVersion => HookConfigImpl.latestVersion;