dart / 2 / dart-ffi / nativeapi / majorversion.html

majorVersion property

int majorVersion
@Since('2.9')

On breaking changes the major version is increased.

The versioning covers the API surface in dart_api_dl.h.

Implementation

@Since('2.9')
external static int get majorVersion;

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-ffi/NativeApi/majorVersion.html