version property Null safety

String version
override

The version of the current Dart runtime.

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 => _throwIfNull(_version);