W3cubDocs

/Dart 2

version property

String version

The version of the current Dart runtime.

The value is a semantic versioning string representing the version of the current Dart runtime, possibly followed by whitespace and other version and build details.

Implementation

static String get version => _version;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-io/Platform/version.html