version property

  1. @override
String get version

The version of the current Dart runtime.

Warning

This property is deprecated on Platform. It is only implemented by the legacy LocalPlatform and FakePlatform classes, and cannot be accessed through Platform.current. Use NativePlatform to access these properties instead, accessed as NativePlatform.current.

The returned String is formatted as the semver version string of the current dart runtime, possibly followed by whitespace and other version and build details.

Implementation

@override
String get version => _nativePlatform.version;